Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: FSCFORM

FSCFORM.m

Go to the documentation of this file.
FSCFORM ;SLC/STAFF-NOIS Format ;1/11/98  18:32
 ;;1.1;NOIS;;Sep 06, 1998
 ;
BUILD(LISTNUM,CALLNUM,STYLE,LASTLINE,TYPE) ; from FSCEU, FSCLME, FSCLMPC, FSCLMPCC, FSCLMV, FSCNOTS, FSCRPCF
 N FIELD,RVOFF,RVON S RVOFF=$G(IORVOFF),RVON=$G(IORVON) K FIELD
 I $D(VALMAR) D VIDEOOFF^FSCU
 I STYLE="BRIEF" D BRIEF^FSCFORMB Q
 I STYLE="DETAIL" D DETAIL^FSCFORMD Q
 I STYLE="CUSTOM" D CUSTOM^FSCFORMC Q
 I STYLE="STAT" D STAT^FSCFORMS Q
 I STYLE="FORMAT" D FORMAT^FSCFORMF Q
 I STYLE="FM" D TEMP^FSCFORMP Q
 Q
 ;
SETTEXT(SECTION,LINE,COLUMN,TEXT,ON,OFF) ; from FSCFORMB, FSCFORMC, FSCFORMD, FSCGETQ
 S FORMAT(SECTION)="",FORMAT(SECTION,LINE)=$$SETSTR^VALM1(TEXT,$G(FORMAT(SECTION,LINE)),COLUMN,$L(TEXT))
 I $L($G(ON))!$L($G(OFF)) S FORMAT(SECTION,LINE,COLUMN)=$L(TEXT)_U_$G(ON)_U_$G(OFF)
 Q
 ;
SETMULT(SECTION,ARRAY) ; from FSCFORMC, FSCFORMD
 S FORMAT(SECTION)=ARRAY
 Q