Anonymous user
Null object: Difference between revisions
m
→[[Undefined values#ALGOL 68]]: add "works with", fixed gramma and formatting.
m (→[[Undefined values/Check#ALGOL 68]]: fix pre tag) |
m (→[[Undefined values#ALGOL 68]]: add "works with", fixed gramma and formatting.) |
||
Line 25:
In ALGOL 68 the NIL yields a name that does not refer to any value. NIL can never be
naturally coerced and can only appear where the context is [[ALGOL 68#strong|strong]].
{{works with|ALGOL 68|Revision 1 - no extensions to language used}}
{{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}}
{{works with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d]}}
<lang algol68>REF STRING no result = NIL;
STRING result := "";
Line 41 ⟶ 47:
# Note the following gotcha: #
Output:
<pre>
Line 54 ⟶ 59:
The address of var IS REF STRING(NIL)
</pre>
NIL basically is an
ALGOL 68 also has
c.f. [[Roots_of_a_function#ALGOL_68|Roots of a function]] for two different
examples of usage.
*
*
Basically:
* ALGOL 68's
* ALGOL 68's
* ALGOL 68's
=={{header|AmigaE}}==
|