Anonymous user
Null object: Difference between revisions
m
→{{header|Lingo}}
(Lingo added) |
|||
Line 746:
=={{header|Lingo}}==
Null/nil is called "<Void>" in Lingo. Lingo doesn't distinguish undefined variables from <Void> objects, and by using the constant VOID you can even assign <Void> to variables. Functions that don't return anything, return <Void>. Checking for <Void> (e.g. by using built-in function voidP) can
<lang lingo>put _global.doesNotExist
-- <Void>
|