SDUL1 ;ALB/MJK - Screen Malipulation Utilities ; 12/1/91
Source file <SDUL1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| INSTR(STR,X,Y,LENGTH,ERASE) | ; -- insert text
 ; STR := string to insert ; X := X coordinate ; Y := Y coordinate ; LENGTH := clear # of characters ; ERASE := erase chars first  | 
|
| FLDUPD(STR,FLD,ENTRY) | ; -- update entry and field on screen
 ; STR := string to insert ; FLD := col name ; ENTRY := entry # in list  | 
|
| SETFLD(STR,VAR,FLD) | ; -- set field in var
 ; input: STR := string to insert ; VAR := destination string ; FLD := col name  | 
|
| SETSTR(S,V,X,L) | ; -- insert text(S) into variable(V)
 ; S := string to insert ; V := destination string ; X := insert @ col X ; L := clear # of chars (length)  | 
 
  | 
| FULL | ; set full scrolling region
 | 
|
| CLEAR | ; -- clear screen
 | 
 
  | 
| ERASE | ;
 | 
|
| FDATE(Y) | ; -- return formatted date
 ; input: Y := field name ; output: [returned] := formatted date only  | 
 
  | 
| FTIME(Y) | ; -- return formatted date/time
 ; input: Y := internal date/time ; output: [returned] := formatted date and time  | 
|
| FDTTM(Y) | ; -- return formatted date/time
 ; input: Y := internal date/time ; output: [returned] := formatted date and time  | 
|
| NOW() | ; -- return now
 | 
|
| RANGE | ; -- change date range
 ; input: ^TMP("SDUL DATA",$J SDULEVL,"DAYS") := number of days allowed ; SDB := default beginning date {optional}  | 
|
| RANGEQ | ||
| PAUSE | ;
 | 
|
| PRT | ; -- prt screen (PS)
 | 
|
| PRTS | ;
 | 
|
| PRTQ | ||
| SAVE | ; -- save to queue
 | 
|
| FTR | ; -- footer to print
 | 
|
| PRTL | ; -- prt list (PL)
 | 
|
| PRTLS | ;
 | 
|
| PRTLQ | ||
| UPPER(X) | ; -- convert to uppercase
 | 
|
| LOWER(X) | ;
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |