Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ALGOL 68
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Miscellaneous=== For its technical intricacies, ALGOL 68 needs a cornucopia of methods to deny the existence of something: '''SKIP''', "~" or "?"<sup>C</sup> โ an undefined value always syntactically valid, '''EMPTY''' โ the only value admissible to '''VOID''', needed for selecting '''VOID''' in a '''UNION''', '''VOID''' โ syntactically like a '''MODE''', but not one, '''NIL''' or "โ" โ a name not denoting anything, of an unspecified reference mode, () or specifically [1:0]'''INT''' โ a ''vacuum'' is an empty array (here specifically of '''MODE''' []'''INT'''). ''undefined'' โ a standards reports procedure raising an exception in the runtime system. โต โ Used in the standards report to inhibit [[type introspection|introspection]] of certain types. e.g. '''SEMA''' The term '''NIL''' '''IS''' ''var'' always evaluates to '''TRUE''' for any variable (but see above for correct use of '''IS''' :/=:), whereas it is not known to which value a comparison ''x'' < '''SKIP''' evaluates for any integer ''x''. ALGOL 68 leaves intentionally undefined what happens in case of [[integer overflow]], the integer bit representation, and the degree of numerical accuracy for floating point. Both official reports included some advanced features that were not part of the standard language. These were indicated with an โต and considered effectively private. Examples include "โฎ" and "โฏ" for templates, the '''OUTTYPE'''/'''INTYPE''' for crude [[duck typing]], and the '''STRAIGHTOUT''' and '''STRAIGHTIN''' operators for "straightening" nested arrays and structures
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)