Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Label References |  Local Variables |  All
Print Page as PDF
Routine: DDWG

Package: VA Fileman

Routine: DDWG


Information

DDWG ;SFISC/MKO-GOTO ;3:40 PM 5 Jul 1996

Source Information

Source file <DDWG.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
VA Fileman 2 (SHFTDN,SHFTUP,SHIFT)^DDW3  EN^DIR0  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
VA Fileman 5 DDW1  DDW2  DDWC  DDWF  DDWT1  

Entry Points

Name Comments DBIA/ICR reference
CUP(Y,X) ;Pos cursor
PROMPT ;Issue read
GOTO ;Go to a specific location
POS(R,C,F) ;Pos cursor based on char pos C
LINE(DDWLN,DDWCOL) ;Adjust arrays and position cursor on line DDWLN
GOTOL ;Go to a line
VALGTO ;Validate DDWX
SCREEN() ;Return current screen
HELP(DDWMSG) ;Print message
GOTOS ;Go to a page
ASK(DDWLC,DDWS,DDWLEN,DDWDEF,DDWVAL,DDWHLP,DDWANS,DDWCOD) ;Prompt user
LTOSC(L) ;Convert line number to page number
GOTOC ;Go to a column

External References

Name Field # of Occurrence
SHFTDN^DDW3 LINE+6
SHFTUP^DDW3 LINE+8
SHIFT^DDW3 POS+7
EN^DIR0 PROMPT+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $P(DDGLGRA,DDGLDEL)_$TR($J("",IOM)," ",$P(DDGLGRA,DDGLDEL,3))_$P(DDGLGRA,DDGLDEL,2)
  • Line Location: ASK+3
Function Call: WRITE
  • Prompt: $P(DDGLCLR,DDGLDEL)
  • Line Location: ASK+4
Function Call: WRITE
  • Prompt: $P(DDGLCLR,DDGLDEL)_$E(DDWL(DDWI),1+DDWOFS,IOM+DDWOFS)
  • Line Location: ASK+9
Function Call: WRITE
  • Prompt: DDWS_$P(DDGLCLR,DDGLDEL)
  • Line Location: PROMPT+2
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: PROMPT+6
Function Call: WRITE
  • Prompt: $P(DDGLCLR,DDGLDEL)_$G(DDWMSG(DDWI-DDWLC+DDWEC))
  • Line Location: HELP+6

Label References

Name Line Occurrences
$$LTOSC GOTOS+8
$$SCREEN GOTOS+5, GOTOS+6
ASK GOTO+5
CUP ASK+2, ASK+4, ASK+8, PROMPT+2, HELP+5
GOTOC GOTO+12
GOTOL GOTO+10
GOTOS GOTO+8
HELP PROMPT+5, PROMPT+6
LINE GOTOS+9, GOTOL+9
POS GOTOC+9, LINE+4, LINE+6, LINE+8, ASK+10
PROMPT ASK+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
C POS~, POS+2*, POS+4, POS+6, POS+7, POS+8
>> DDGLCLR ASK+4, ASK+9, PROMPT+2, HELP+6
>> DDGLDEL ASK+3, ASK+4, ASK+9, PROMPT+2, HELP+6
>> DDGLGRA ASK+3
>> DDWA GOTOL+5, GOTOL+6, LINE+3, LINE+4, LINE+5, LINE+6, SCREEN+1
DDWANS GOTO+1~, GOTO+5, GOTO+6, GOTO+7, GOTO+9, GOTO+11, GOTOS+2, GOTOS+5, GOTOS+6, GOTOL+2
, GOTOL+5, GOTOL+6, GOTOC+2, GOTOC+5, GOTOC+6, ASK~, ASK+5!, PROMPT+7*
>> DDWC GOTOC+5, GOTOC+6, ASK+10, POS+4*
DDWCH VALGTO+1~, VALGTO+5*
>> DDWCNT GOTOS+8, GOTOL+8, LINE+2
DDWCOD ASK~, PROMPT+3
DDWCOL GOTOC+1~, GOTOC+2*, GOTOC+3*, GOTOC+4*, GOTOC+5*, GOTOC+6*, GOTOC+7*, GOTOC+8*, GOTOC+9, LINE~
, LINE+1*, LINE+4, LINE+6, LINE+8
DDWDEF ASK~, PROMPT+3
DDWEC HELP+1~, HELP+3*, HELP+6
DDWERR PROMPT+1~, PROMPT+6, VALGTO+3*, VALGTO+7!
DDWHLP GOTO+1~, GOTO+5, ASK~, PROMPT+5
DDWHLP(1 GOTO+2*
DDWHLP(2 GOTO+3*
DDWHLP(3 GOTO+4*
DDWI GOTO+1~, ASK+1~, ASK+4*, ASK+7*, ASK+8, ASK+9, HELP+1~, HELP+4*, HELP+5, HELP+6
>> DDWL( ASK+9, POS+2, POS+3
DDWLC ASK~, ASK+2, ASK+4, ASK+7, PROMPT+2, PROMPT+3, HELP+4, HELP+5, HELP+6
DDWLEN ASK~, PROMPT+3
DDWLN GOTOL+1~, GOTOL+2*, GOTOL+3*, GOTOL+4*, GOTOL+5*, GOTOL+6*, GOTOL+7*, GOTOL+8*, GOTOL+9, LINE~
, LINE+2*, LINE+3, LINE+4, LINE+5, LINE+6, LINE+8
>> DDWMR GOTOS+9, LINE+3, ASK+2, ASK+4, ASK+7, PROMPT+2, PROMPT+3, HELP+5, SCREEN+1, LTOSC+1
DDWMSG HELP~, HELP+2
DDWMSG( HELP+6
DDWMSG("" HELP+3
DDWMSG(1 HELP+2*
>> DDWN POS+3*
>> DDWOFS ASK+9, POS+6, POS+7, POS+8
>> DDWRW GOTOL+5, GOTOL+6, GOTOC+9, ASK+10, SCREEN+1, POS+4*
DDWS GOTOS+1~, GOTOS+2*, GOTOS+3*, GOTOS+4*, GOTOS+5*, GOTOS+6*, GOTOS+7*, GOTOS+8*, GOTOS+9, ASK~
, PROMPT+2, PROMPT+3
DDWVAL ASK~, PROMPT+6
DDWX PROMPT+1~, PROMPT+3, PROMPT+5, PROMPT+7, VALGTO+2, VALGTO+4, VALGTO+5, VALGTO+6, POS+1~, POS+6*
, POS+7
>> DX CUP+1*, POS+8*
>> DY CUP+1*, POS+8*
F POS~, POS+3, POS+4
IOM ASK+3, ASK+9, POS+7
>> IOTM PROMPT+3, CUP+1, POS+8
>> IOXY CUP+1, POS+8
L LTOSC~, LTOSC+1
R POS~, POS+2, POS+3, POS+4, POS+8
U GOTO+6, VALGTO+2
X CUP~, CUP+1
Y CUP~, CUP+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Label References |  Local Variables |  All