EQUATE , , , $INCLUDE, . , .
"", - , , ( ), U2 - . U2 , . , , , "SOMETHING.OR.OTHER.CTRL" . , , "INVENTORY.CONSTANTS".
For indirect links, configure the entry with the first attribute that has “persistent” multivalued names, and the second field with “permanent” values that are also multivalued. Like this:
INVENTORY.CONSTANTS:
001: JOHN*PAUL*GEORGE*RINGO
001: 100*57*83*19833
(where "*" is actually a sign of value).
Then the program will do the following:
SUBROUTINE SAMPLE(CONSTANT.NAME)
.
.
.
OPEN "","SOMETHING.OR.OTHER.CONTROL" TO CTRL.FILE ELSE BOMB
READ CONST.REC FROM CTRL.FILE, "INVENTORY.CONTSTANTS" THEN
LOCATE CONSTANT.NAME IN CONST.REC<1> SETTING CONST.POS THEN
CONST.VALUE = CONST.REC<2,CONST.POS>
END ELSE
BOMB
END
END ELSE
BOMB
END
source
share