XPAR ; SLC/KCM - Parameters File Calls ;11/03/2003 16:17
Source file <XPAR.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
ADD(ENT,PAR,INST,VAL,ERR) | ; add new parameter instance
|
|
CHG(ENT,PAR,INST,VAL,ERR) | ; change parameter value for a given instance
|
|
DEL(ENT,PAR,INST,ERR) | ; delete a parameter instance
|
|
REP(ENT,PAR,INST,NEWINST,ERR) | ; replace existing instance value
|
|
PUT(ENT,PAR,INST,VAL,ERR) | ; add/update, bypassing input transforms
|
|
PUT1 | ; ; called here from old entry point EN^ORXP
|
|
EN(ENT,PAR,INST,VAL,ERR) | ; add/change/delete parameters
|
|
UPD | ; ; enter here if transaction type known
|
|
UPD1 | ; ; enter here if data already validated
|
|
NDEL(ENT,PAR,ERR) | ; Delete all instances of a parameter for an entity
|
|
GET(ENT,PAR,INST,FMT) | ; function - returns a parameter value
; INST: instance, defaults to 1 (external or `internal) ; FMT: format of returned data, defaults to "Q" (internal values) ; "Q" - quick, returns internal value ; "I" - internal, returns internal value, inst must be internal ; "E" - external, returns external value ; "B" - both, returns internal value^external value |
|
GETWP(WPTEXT,ENT,PAR,INST,ERR) | ; get value of word processing type
; .WPTEXT: array in which the word processing text is returned ; WPTEXT contains the title (VALUE field) ; WPTEXT(n,0) contains the actual text ; INST: instance, defaults to 1 (internal only - XPARCHK not defined) |
|
GETLST(LIST,ENT,PAR,FMT,ERR,GBL) | ; return all parameter instances for an entity
; .LIST: array in which instances are returned ; FMT: format of returned data, defaults to "Q" (internal values) ; "I" - internal instance)=internal value ; "Q" - quick, #)=internal instance^internal value ; "E" - external, #)=external instance^external value ; "B" - both, #,"N")=internal instance^external instance ; #,"V")=internal value^external value ; "N" - external instance)=internal value^external value ; GBL: Set to 1 if LIST holds a Closed Global root |
|
ENVAL(LIST,PAR,INST,ERR,GBL) | ; return all parameter instances
; .LIST: array of returned entity/instance/values in the format: ; LIST(entity,instance)=value (LIST = # of array elements) ; or a Closed Global root ($NA(^TMP($J))) ; PAR: parameter in external or internal format ; INST: instance (optional) in external or internal format ; ERR: error (0 if no error found) ; GBL: Set to 1 if LIST holds a Closed Global root |
|
Name | Field # of Occurrence |
---|---|
^DIK | NDEL+7 |
INTERN^XPAR1 | UPD1+3, NDEL+3, GET+9, GETWP+7, GETLST+20 |
DOADD^XPAR2 | UPD1+5 |
DOCHG^XPAR2 | UPD1+6 |
DODEL^XPAR2 | UPD1+7 |
DOREP^XPAR2 | UPD1+8 |
$$ERR^XPARDD | UPD1+2, NDEL+2, GETLST+15, ENVAL+13, ENVAL+20 |
$$EXT^XPARDD | GET+12, GET+13, GETLST+25, GETLST+26 |
VALID^XPARDD | ENVAL+22 |
FileNo | Call Tags |
---|---|
^XTV(8989.5 - [#8989.5] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^XTV(8989.5 - [#8989.5] | UPD1+4, NDEL+5, NDEL+6, GET+10, GETWP+8, GETWP+9, GETLST+21, GETLST+22, ENVAL+23, ENVAL+25 , ENVAL+28, ENVAL+29 |
^XTV(8989.51 - [#8989.51] | ENVAL+19, ENVAL+20 |
Name | Field # of Occurrence |
---|---|
^(1 | GETWP+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | NDEL+1~, NDEL+6* |
>> DIK | NDEL+4* |
EINST | GETLST+10~, GETLST+26*, GETLST+27, GETLST+28, GETLST+29 |
ENT | ADD~, CHG~, DEL~, REP~, PUT~, EN~, UPD1+2, UPD1+4, NDEL~, NDEL+2 , NDEL+5, NDEL+6, GET~, GET+10, GETWP~, GETWP+8, GETLST~, GETLST+21, GETLST+22, ENVAL+8~ , ENVAL+9*, ENVAL+23*, ENVAL+25, ENVAL+26, ENVAL+28, ENVAL+29, ENVAL+30 |
ERR | ADD~, CHG~, DEL~, REP~, PUT~, EN~, UPD1+1*, UPD1+2*, UPD1+3, NDEL~ , NDEL+2*, NDEL+3*, GET+7~, GET+8*, GET+9, GETWP~, GETWP+6*, GETWP+7, GETLST~, GETLST+11* , GETLST+14, GETLST+15*, GETLST+20, ENVAL~, ENVAL+9*, ENVAL+12, ENVAL+13*, ENVAL+20*, ENVAL+22 |
FMT | GET~, GET+8*, GET+11, GET+12, GET+13, GETLST~, GETLST+11*, GETLST+23, GETLST+24, GETLST+27 , GETLST+28, GETLST+29 |
GBL | GETLST~, GETLST+13, GETLST+14, ENVAL~, ENVAL+11, ENVAL+12 |
I | GETWP+5~ |
IEN | GETWP+5~, GETWP+8*, GETWP+9 |
INST | ADD~, CHG~, DEL~, REP~, PUT~, EN~, UPD1+1*, UPD1+4, NDEL+1~, NDEL+4* , NDEL+5*, NDEL+6, GET~, GET+8*, GET+10, GETWP~, GETWP+6*, GETWP+8, GETLST+10~, GETLST+11* , GETLST+21*, GETLST+22, GETLST+23, GETLST+24, GETLST+26, ENVAL~, ENVAL+22, ENVAL+24, ENVAL+25, ENVAL+26 , ENVAL+27, ENVAL+28*, ENVAL+29, ENVAL+30 |
LIST | GETLST~, GETLST+13!, GETLST+15, GETLST+16, ENVAL~, ENVAL+11!, ENVAL+13, ENVAL+14 |
NEWINST | REP~ |
PAR | ADD~, CHG~, DEL~, REP~, PUT~, EN~, UPD1+4, NDEL~, NDEL+5, NDEL+6 , GET~, GET+10, GET+12, GET+13, GETWP~, GETWP+8, GETLST~, GETLST+21, GETLST+22, GETLST+25 , GETLST+26, ENVAL~, ENVAL+19*, ENVAL+20, ENVAL+22, ENVAL+23, ENVAL+25, ENVAL+28, ENVAL+29 |
ROOT | GETLST+10~, GETLST+13*, GETLST+16*, GETLST+19, GETLST+22, GETLST+23, GETLST+24, GETLST+27, GETLST+28, GETLST+29 , ENVAL+8~, ENVAL+11*, ENVAL+14*, ENVAL+17, ENVAL+26, ENVAL+30 |
TYP | ADD+1~*, CHG+1~*, DEL+1~*, REP+1~*, PUT1+1~, EN+1~, UPD1+4*, UPD1+5, UPD1+6, UPD1+7 , UPD1+8 |
U | GETLST+24, GETLST+25, GETLST+26, GETLST+27 |
VAL | ADD~, CHG~, DEL+1~, REP+1~, PUT~, EN~, UPD1+1*, UPD1+4, GET+10~*, GET+11 , GET+12, GET+13, GETLST+10~, GETLST+22*, GETLST+23, GETLST+24, GETLST+25*, GETLST+27, GETLST+28, GETLST+29 , ENVAL+8~, ENVAL+9*, ENVAL+25*, ENVAL+26, ENVAL+29*, ENVAL+30 |
WPTEXT | GETWP~, GETWP+5!, GETWP+9* |
WPTEXT(0 | GETWP+9! |
XPARCHK | PUT1+1~, UPD+1~*, GET+7~, GET+8*, GETWP+5~, GETLST+10~ |
XPARGET | GET+7~, GET+8*, GETWP+5~, GETWP+6*, GETLST+10~, GETLST+11*, ENVAL+8~, ENVAL+9* |