Null object: Difference between revisions
m
→{{header|ooRexx}}: typo
(Added EchoLisp) |
Walterpachl (talk | contribs) m (→{{header|ooRexx}}: typo) |
||
Line 852:
=={{header|ooRexx}}==
ooRexx has a special singleton object
<lang ooRexx>
if a[i] == .nil then say "Item" i "is missing"
Line 863:
if \var("var") then say "Variable" var "is not assigned"</lang>
Output:
<pre>Item 3 of array A is missing▼
▲Item 3 of array A is missing
Variable INPUT is not assigned
Variable VAR is not assigned</pre>
=={{header|Oz}}==
|