Null object: Difference between revisions

Added 11l
(Added 11l)
Line 13:
''This task is not about whether a variable is defined. The task is about "null"-like values in various languages, which may or may not be related to the defined-ness of variables in your language.''
<br><br>
 
=={{header|11l}}==
<lang 11l>F f([Int]? a)
I a != N
a.append(1)
 
f(N)
[Int] arr
f(arr)
print(arr)</lang>
 
{{out}}
<pre>
[1]
</pre>
 
=={{header|8th}}==
Line 18 ⟶ 33:
null? if "item was null" . then
</lang>
 
=={{header|AArch64 Assembly}}==
{{works with|as|Raspberry Pi 3B version Buster 64 bits}}
1,480

edits