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: DDWT1

Package: VA FileMan

Routine: DDWT1


Information

DDWT1 ;SFISC/PD KELTZ,MKO - READ AND PROCESS ;9NOV2016

Source Information

Source file <DDWT1.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
VA FileMan 14 (AUTOSV,AUTOTM,LOAD,QUIT,SAVE,SV)^DDW1  (LSET,REPLM,RSET,STAT,TSALL,TSET,WRAPM)^DDW2  (BOT,MVBCK,MVFWD,SHIFT,TOP)^DDW3  (DELW,DEOL,JLEFT,JRIGHT,LBEG,LEND,PGDN,PGUP,TAB,WORDL,WORDR)^DDW4  (BREAK,WRAP,XLINE)^DDW5  (JOIN,REFMT)^DDW6  (MARK,UNMARK)^DDW7  (COPY,CUT,PASTE)^DDW8  
CHKDEL^DDW9  CHG^DDWC  (FIND,NEXT)^DDWF  GOTO^DDWG  HLP^DDWH  $$UP^DILIBF  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
VA FileMan 4 DDW  DDW4  DDW5  DDW9  

Entry Points

Name Comments DBIA/ICR reference
GETIN ;Get input
DISPL ;Display char
IC
RUB ;COME HERE ON BACKSPACE
DEL
STATUS
UP
DN
RT
LT
SV
SW
EX
QT
TO
HLP
AUT
TST
TSALL
LST
RST
WRM
RPM
ST
TOP
BOT
PDN
PUP
TAB
JLT
JRT
LB
LE
WRT
WLT
DLW
DEOL
BRK ;I 'DDWREP,$G(DDWCNT)>1,$G(DDWN)="",$G(DDWL(DDWRW-1))="",DDWA+DDWRW'<DDWCNT D SAVE^DDW1 S DDWFIN="",DDWCNT=DDWCNT-1 Q ;**GFT GET OUT WITH TWO RETURNS AT BOTTOM
XLN
JN
RFT
MRK
UMK
CPY
CUT
PST
FND
NXT
GTO
CHG
READ(DDWTO,Y) ;Out: Y = Char or mnemonic
PREAD(DDWLEN,DDWTO,DDWST,Y) ;
MNE(Y) ;In: Y = Ascii value of first character
MNELOOP(S,Y,T,F) ;Read more
H(DDWST) ;
HS(Y) ;
FLUSH ;
CUP(Y,X) ;
POS(R,C,F) ;Pos cursor based on char pos C
MIN(X,Y) ;
HDIFF(H1,H2) ;# seconds between two $H's

External References

Name Field # of Occurrence
AUTOSV^DDW1 GETIN+19
AUTOTM^DDW1 AUT
LOAD^DDW1 DDWT1+9
QUIT^DDW1 QT
SAVE^DDW1 SWEXTO
SV^DDW1 SV
LSET^DDW2 LST
REPLM^DDW2 RPM
RSET^DDW2 RST
STAT^DDW2 ST
TSALL^DDW2 TSALL
TSET^DDW2 TST
WRAPM^DDW2 WRM
BOT^DDW3 BOT
MVBCK^DDW3 RUB+9, UP+3
MVFWD^DDW3 DN+4
SHIFT^DDW3 POS+7
TOP^DDW3 TOP
DELW^DDW4 DLW
DEOL^DDW4 DEOL
JLEFT^DDW4 JLT
JRIGHT^DDW4 JRT
LBEG^DDW4 LB
LEND^DDW4 LE
PGDN^DDW4 PDN
PGUP^DDW4 PUP
TAB^DDW4 TAB
WORDL^DDW4 WLT
WORDR^DDW4 WRT
BREAK^DDW5 BRK+1
WRAP^DDW5 IC+3
XLINE^DDW5 DEL+8, XLN
JOIN^DDW6 DEL+13, JN
REFMT^DDW6 RFT
MARK^DDW7 MRK
UNMARK^DDW7 DISPL+4, UMK
COPY^DDW8 CPY
CUT^DDW8 CUT
PASTE^DDW8 PST
CHKDEL^DDW9 RUB+4, DEL+2
CHG^DDWC CHG
FIND^DDWF FND
NEXT^DDWF NXT
GOTO^DDWG GTO
HLP^DDWH HLP
$$UP^DILIBF MNELOOP+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: DISPL+1
Function Call: WRITE
  • Prompt: DDWQ
  • Line Location: DISPL+9
Function Call: WRITE
  • Prompt: DDWQ_$E(DDWN,DDWC,IOM+DDWOFS)
  • Line Location: IC+1
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: RUB+8
Function Call: WRITE
  • Prompt: $P(DDGLED,DDGLDEL,6)
  • Line Location: RUB+17
Function Call: WRITE
  • Prompt: DDWX
  • Line Location: RUB+18
Function Call: WRITE
  • Prompt: $E(DDWN_" ",DDWC,IOM+DDWOFS)
  • Line Location: RUB+19
Function Call: WRITE
  • Prompt: $P(DDGLED,DDGLDEL,6)
  • Line Location: DEL+18
Function Call: WRITE
  • Prompt: DDWX
  • Line Location: DEL+19
Function Call: WRITE
  • Prompt: $E(DDWN_" ",DDWC,IOM+DDWOFS)
  • Line Location: DEL+21
Function Call: WRITE
  • Prompt: $P(DDGLCLR,DDGLDEL)_DDWS
  • Line Location: STATUS+6
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: UP+4
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: DN+0
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: DN+5
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: RT+0
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: LT+1
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: TO+0
Function Call: READ
  • Variable: DDWST#DDWLEN
  • Timeout: DDWTO
  • Line Location: PREAD+5
Function Call: WRITE
  • Prompt: Y
  • Line Location: PREAD+13
Function Call: READ
  • Variable: *Y
  • Timeout: 5
  • Line Location: MNELOOP+24
Function Call: WRITE
  • Prompt: DDWST
  • Line Location: H+8
Function Call: READ
  • Variable: *DDWX
  • Timeout: 0
  • Line Location: FLUSH+2
Function Call: WRITE
  • Prompt: $C(7)
  • Line Location: FLUSH+2

Label References

Name Line Occurrences
$$HDIFF GETIN+15, GETIN+19
$$MIN GETIN+3
@( GETIN+21
CUP RUB+15, RUB+18, RUB+19, DEL+19, DEL+22, STATUS+6
DISPL GETIN+11
FLUSH MNELOOP+19, MNELOOP+24
GETIN DDWT1+11
H PREAD+8
HS READ+3
MNE READ+6, PREAD+11
MNELOOP MNE+7
POS IC+2, RUB+9, RUB+10, RUB+20, DEL+9, DEL+14, STATUS+7, UP+1, UP+5, DN+2
DN+6, RT+1, LT+2, LT+3, HLPXLN, H+7
PREAD GETIN+3
READ GETIN+10
STATUS GETIN+16, GETIN+21
UP LT+2

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 STATUS+6
>> DDGLDEL RUB+16, RUB+17, DEL+17, DEL+18, STATUS+6
>> DDGLED RUB+16, RUB+17, DEL+17, DEL+18
>> DDGLZOSF("EOFF" PREAD+6
>> DDGLZOSF("EON" PREAD+4
>> DDGLZOSF("TRMRD" PREAD+6
>> DDWA DISPL+4, RUB+8, DEL+7, DEL+12, DEL+14, STATUS+1, STATUS+2, UP+2, DNLT+1
DDWANS GETIN+2~, GETIN+3, GETIN+4, GETIN+7, GETIN+8
>> DDWAUTO GETIN+19
>> DDWAUTO("H" GETIN+19
>> DDWAUTO("S" GETIN+19
>> DDWC GETIN+1, GETIN+3, GETIN+7, GETIN+8*, DISPL+1, DISPL+5, DISPL+6, DISPL+7*, IC+1, IC+2
RUB+6, RUB+12*, RUB+14, RUB+15, RUB+18, RUB+19, RUB+20, DEL+4, DEL+12, DEL+16
DEL+19, DEL+21, DEL+22, STATUS+4, STATUS+7, UP+1, UP+5, DN+2, DN+6, RT
RT+1, LTLT+3, HLPXLN, H+7, POS+4*
>> DDWCNT RUB+2*, DEL+7, STATUS+1, STATUS+2, DN
DDWCON H+3~, H+4*, H+5*, H+6
DDWED GETIN+5*, DISPL+3*, RUB+3*, DEL+1*, SV!, DLW*, DEOL*, BRK+1*, XLN*, JN*
, RFT*
>> DDWFIN DDWT1+11, SW*, EX*, TO*
DDWHLOG MNE+3*, MNE+4!, MNE+5!
DDWI H+3~, H+5*
>> DDWL( GETIN+7*, DISPL+6*, RUB+12*, DEL+16*, POS+2, POS+3
DDWLAST DEL+6~, DEL+7*, DEL+9
DDWLEN PREAD~, PREAD+5
>> DDWMARK GETIN+1, DISPL+4, RUB+4, DEL+2
>> DDWMR STATUS+1, STATUS+6, DN+1
>> DDWN GETIN+1, GETIN+7*, DISPL+5*, DISPL+6*, IC+1, IC+3, RUB+2, RUB+12*, RUB+13, RUB+19
DEL+4, DEL+5, DEL+16*, DEL+21, UP+5, DNDN+6, RT, POS+3*
>> DDWOFS GETIN+1, GETIN+3, IC+1, RUB+13, RUB+14, RUB+15, RUB+18, RUB+19, DEL+16, DEL+19
DEL+21, DEL+22, POS+6, POS+7, POS+8
>> DDWQ GETIN+3, GETIN+6*, GETIN+10, GETIN+11, GETIN+14, GETIN+15*, GETIN+16*, GETIN+19, GETIN+21, DISPL+6
DISPL+9, IC+1
>> DDWREP GETIN+1, DISPL+6, DISPL+9
>> DDWRMAR GETIN+1, GETIN+3, IC+3
>> DDWRW GETIN+7, DISPL+4, DISPL+6, IC+2, RUB+7, RUB+10, RUB+12, RUB+15, RUB+18, RUB+19
RUB+20, DEL+7, DEL+9, DEL+12, DEL+16, DEL+19, DEL+22, STATUS+1, STATUS+2, STATUS+7
UPUP+1, UP+5, DNDN+1, DN+2, DN+6, RT+1, LT+1, LT+2
LT+3, HLPXLN, H+7, POS+4*
DDWS STATUS~, STATUS+1*, STATUS+3*, STATUS+5*, STATUS+6
DDWST PREAD~, PREAD+5*, PREAD+8, PREAD+13*, H~, H+1*, H+2, H+6*, H+8
>> DDWSTAT GETIN+6, GETIN+13, GETIN+16, GETIN+21
>> DDWSTB DN+3
DDWTC GETIN+15, GETIN+16*, GETIN+17!
DDWTO GETIN+3, GETIN+6, GETIN+10, READ~, READ+2, PREAD~, PREAD+5
DDWX RUB+1~, RUB+4, RUB+13*, RUB+18, DEL~, DEL+2, DEL+11~, DEL+12*, DEL+14, DEL+16*
DEL+19, STATUS~, STATUS+2*, STATUS+3, STATUS+4*, STATUS+5, FLUSH+1~, FLUSH+2*, POS+1~, POS+6*
, POS+7
DDWY DEL+11~, DEL+12*, DEL+14
>> DIWESW SW*
DTIME GETIN+6, GETIN+15
>> DTOUT TO*
DUOUT DDWT1+9!, QT*
>> DX CUP+1*, POS+8*
>> DY CUP+1*, POS+8*
E MNELOOP+9~, MNELOOP+14*, MNELOOP+15*, MNELOOP+16
F MNE+2~, MNE+6*, MNE+7, MNELOOP~, MNELOOP+19*, MNELOOP+22*, MNELOOP+24*, POS~, POS+3, POS+4
H1 HDIFF~, HDIFF+1
H2 HDIFF~, HDIFF+1
IOM GETIN+1, GETIN+3, IC+1, RUB+13, RUB+18, RUB+19, DEL+16, DEL+19, DEL+21, STATUS+3
STATUS+5, POS+7
>> IOTM CUP+1, POS+8
>> IOXY CUP+1, POS+8
R POS~, POS+2, POS+3, POS+4, POS+8
S MNE+2~, MNE+6*, MNE+7, MNELOOP~, MNELOOP+10*, MNELOOP+11, MNELOOP+13*, MNELOOP+14, MNELOOP+18*, MNELOOP+21
, MNELOOP+22
T MNE+2~, MNE+6*, MNE+7, MNELOOP~, MNELOOP+11, MNELOOP+14, MNELOOP+17*, MNELOOP+18, MNELOOP+21, MNELOOP+22
U DISPL+4, MNELOOP+11, MNELOOP+14, MNELOOP+21, MNELOOP+22
X CUP~, CUP+1, MIN~, MIN+1
Y READ~, READ+1, READ+2*, READ+3, READ+4*, READ+5*, READ+6, PREAD~, PREAD+5*, PREAD+10
, PREAD+11, PREAD+12*, PREAD+13*, PREAD+14*, MNE~, MNE+3, MNE+4*, MNE+7, MNELOOP~, MNELOOP+10
, MNELOOP+12, MNELOOP+13, MNELOOP+19*, MNELOOP+22*, MNELOOP+24*, HS~, HS+1*, HS+2*, CUP~, CUP+1
, MIN~, MIN+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Label References |  Local Variables  | All