Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

DELVAR

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

00000000Macro call was successful; no error
01000000Variable not declared
00010001Parameter error
00010002Syntax error in variable name
00400019no delete possible
0040001Adelete failed
0001FFFFUnknown unit or function number
0002FFFFFunction not available
0003FFFFWrong version of operand list