Null object: Difference between revisions

Content added Content deleted
(adding maxima)
m (→‎{{header|REXX}}: expanded the title of the REXX program. -- ~~~~)
Line 742: Line 742:
<br>A variable with a NULL value has a length of 0 (zero).
<br>A variable with a NULL value has a length of 0 (zero).
<br><br>The DROP statement can be used to "un-define" a REXX variable.
<br><br>The DROP statement can be used to "un-define" a REXX variable.
<lang rexx>/*REXX (start of program).*/
<lang rexx>/*REXX program demonstrates null strings, and also undefined values. */


if symbol('ABC')=="VAR" then say 'variable ABC is defined, value='abc"<<<"
if symbol('ABC')=="VAR" then say 'variable ABC is defined, value='abc"<<<"