Null object: Difference between revisions
Content deleted Content added
m {{omit from|GUISS}} |
Added Delphi example |
||
Line 184: | Line 184: | ||
Stdout.formatln("object is null"); |
Stdout.formatln("object is null"); |
||
}</lang> |
}</lang> |
||
=={{header|Delphi}}== |
|||
<lang Delphi> // the following are equivalent |
|||
if lObject = nil then |
|||
... |
|||
if not Assigned(lObject) then |
|||
...</lang> |
|||
=={{header|E}}== |
=={{header|E}}== |