Action
Compiler directive for changing the behavior of the DATA statements.
Syntax
$NONULL = value
Remarks
value |
0 for default behavior. And -1 for special behavior |
When a string is stored with a DATA statement, a null is added to indicate the string end. In some situations you might not want this. When you write a custom routine to work with a long string for example. With $NONULL = -1 , the additional null byte is not added. To switch back to normal mode use a value of 0.
See also
NONE
Example
$nonull = -1
Lbl:
Data "test" , "this"
Lbl2:
$nonull = 0 'normal mode
Data "test" , "this"