YTWJSONU ;SLC/KCM - JSON Instrument Spec Utilities ; 7/20/2018
Source file <YTWJSONU.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Mental Health | 3 | YTWJSON YTWJSONF YTWJSONO |
Name | Comments | DBIA/ICR reference |
---|---|---|
PROMPT(TEXT) | ; prompt for text value and return, otherwise ""
|
|
BLDTXT(WPREF,TEXT) | ; build array of JSON text from WP field
|
|
HTMLESC(X) | ; return X HTML escaped
|
|
WRAPTXT(X,TEXT,MAX) | ; Wrap X into MAX length strings in .TEXT
|
|
NAMES(OUT) | ; build JSON of all active test names
|
|
ADDPROP(NAME,VALUE) | ; add property to test select object
; expects OUT,LN |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^XTMP("YTWPROMPTS" | PROMPT+3, PROMPT+6*, PROMPT+7* |
^YTT(601.71 - [#601.71] | NAMES+3, NAMES+4, NAMES+5, NAMES+7, NAMES+9 |
Name | Line Occurrences |
---|---|
$$HTMLESC | BLDTXT+5 |
ADDPROP | NAMES+6, NAMES+7, NAMES+8, NAMES+10 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIR | PROMPT+1~ |
DIR("A" | PROMPT+2* |
DIR("B" | PROMPT+3* |
DIR(0 | PROMPT+2* |
DIROUT | PROMPT+1~ |
DIRUT | PROMPT+1~, PROMPT+4 |
DT | PROMPT+6 |
DTOUT | PROMPT+1~ |
DUOUT | PROMPT+1~ |
I | BLDTXT+1~, BLDTXT+3*, BLDTXT+4, WRAPTXT+1~, WRAPTXT+3*, WRAPTXT+6 |
IDX | BLDTXT+1~, BLDTXT+2*, BLDTXT+4*, BLDTXT+6, BLDTXT+8 |
LASTLN | BLDTXT+1~, BLDTXT+6*, BLDTXT+7, BLDTXT+8* |
LN | BLDTXT+1~, BLDTXT+4*, BLDTXT+5*, BLDTXT+6, BLDTXT+7*, BLDTXT+8, WRAPTXT+1~, WRAPTXT+2*, WRAPTXT+4*, WRAPTXT+5* , WRAPTXT+6, NAMES+1~, NAMES+2*, NAMES+11, NAMES+12*, ADDPROP+4*, ADDPROP+9 |
MAX | WRAPTXT~, WRAPTXT+2*, WRAPTXT+4, WRAPTXT+5 |
NAME | NAMES+1~, NAMES+3*, NAMES+4, NAMES+6, ADDPROP~, ADDPROP+4, ADDPROP+5, ADDPROP+6 |
OUT | NAMES~ |
OUT( | NAMES+2*, NAMES+11*, NAMES+12*, ADDPROP+4*, ADDPROP+9* |
SPEC | HTMLESC+1~, HTMLESC+7 |
SPEC("""" | HTMLESC+4* |
SPEC("<" | HTMLESC+6* |
SPEC(">" | HTMLESC+5* |
SPEC("|" | HTMLESC+2* |
STAFF | NAMES+1~, NAMES+9*, NAMES+10 |
TEST | NAMES+1~, NAMES+4*, NAMES+5, NAMES+7, NAMES+9 |
TEXT | PROMPT~, PROMPT+2, PROMPT+3, PROMPT+7, BLDTXT~, BLDTXT+6*, WRAPTXT~ |
TEXT( | WRAPTXT+4, WRAPTXT+5, WRAPTXT+6* |
TEXT("\" | BLDTXT+8* |
U | PROMPT+6, NAMES+5, NAMES+7, NAMES+9 |
VALUE | ADDPROP~, ADDPROP+7, ADDPROP+8 |
WORD | WRAPTXT+1~, WRAPTXT+3*, WRAPTXT+4, WRAPTXT+5, WRAPTXT+6 |
WPREF | BLDTXT~, BLDTXT+3, BLDTXT+4 |
X | PROMPT+1~, PROMPT+4*, PROMPT+5, PROMPT+7, PROMPT+8, HTMLESC~, HTMLESC+7, WRAPTXT~, WRAPTXT+3, ADDPROP+2~ , ADDPROP+3*, ADDPROP+4*, ADDPROP+5*, ADDPROP+7*, ADDPROP+8*, ADDPROP+9 |
Y | PROMPT+1~ |