Null object: Difference between revisions

Line 454:
<lang PicoLisp>(unless MyNewVariable
(handle value-is-NIL) )</lang>
 
=={{header|PL/I}}==
<lang PL/I>
declare x fixed decimal (10);
...
if ^valid(x) then signal error;
 
declare y picture 'A9XAAA9';
...
if ^valid(y) then signal error;
</lang>
Comment:-
In the picture specification, the content of variable y
must consist of letters where the letter 'A' is given,
digits or space where the digit '9' appears,
and the letter X signfies that any character is acceptable.
 
=={{header|PowerShell}}==
Anonymous user