Loading...
Select Version
The DELVAR macro deletes a variable. DELVAR can be used with simple variables or complex variables, but not with elements of complex variables. I.e. structure or list elements cannot be deleted.
Operation | Operands |
DELVAR | MF = E ,PARAM = <name 1..8> / (<integer 1..15> ) |
MF = D ,PREFIX = D / prefix | |
MF = C ,PREFIX = D / prefix ,MACID = ELV / macid | |
MF = L ,NAMLEN = <integer 1..255> ,NAMADR = <name 1..8> ,SCOPE = *VISIBLE / *TASKONLY ,CALLER = USER / SYSTEM |
Return codes
The table below lists the return codes in hexadecimal notation.
Subcode2 | Subcode1 | Maincode | Meaning |
00 | 00 | 0000 | Macro call was successful; no error |
01 | 00 | 0000 | Variable not declared |
00 | 01 | 0001 | Parameter error |
00 | 01 | 0002 | Syntax error in variable name |
00 | 40 | 0019 | no delete possible |
00 | 40 | 001A | delete failed |
00 | 01 | FFFF | Unknown unit or function number |
00 | 02 | FFFF | Function not available |
00 | 03 | FFFF | Wrong version of operand list |