EXECUTE |
Execute Basic Instruction |
EXECUTE statement$[,ERR=stmtref]
Where:
statement$ |
Character string to be processed by the system as if entered in Command mode. String expression. |
stmtref |
Program line number or statement label to which to transfer control. |
Use EXECUTE to embed Command mode statements directly into a program. A typical use of this directive is to modify the current program dynamically. When used in a compound statement, EXECUTE must be the last directive in the line.
0010 let X$=lst(pgm(tcb(4)+1));execute X$(5),err=*end
0100 if WDX then execute "[WDX]SET_PARAM 'SD' "