Null object: Difference between revisions

Content added Content deleted
m ([Erlang] Improve readability.)
m (→‎{{header|REXX}}: used boldfaced font for functions in the comment part of the section header. -- ~~~~)
Line 795: Line 795:
=={{header|REXX}}==
=={{header|REXX}}==
REXX can have variables with a null value.
REXX can have variables with a null value.
<br>With the SYMBOL built-in function, it can be determined if a variable is defined (or not).
<br>With the '''symbol''' built-in function, it can be determined if a variable is defined (or not).
<br>The LENGTH built-in function can be used to see what the length of the value of a defined variable.
<br>The '''length''' built-in function can be used to see what the length of the value of a defined variable.
<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 program demonstrates null strings, and also undefined values. */
<lang rexx>/*REXX program demonstrates null strings, and also undefined values. */