DOS program instruction example, in an assignment statement) are created as globals. Normal variable type checking is performed, and errors are generated if there are type conflicts. The single-line control statements GOTO, IF ... GOTO, CALL, and CALLS are allowed and execute normally. The multiline control structures (for example, CASE ... END, IF ... ELSE ... END) cannot be executed by the DOS instruction. Examples DOS "var = 123" Causes the variable var to be assigned the value 123. If var is undefined, a new global variable named var is created. Any errors cause the program to stop executing. DOS $ins, status Causes the instruction contained in the string variable $ins to be executed.
If an error occurs, an eV+ error code is placed in the real variable status and execution continues. Related Keywords DO monitor command MCS program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 184