Include a file: Difference between revisions

Content added Content deleted
m (→‎{{header|ALGOL 68}}: another small change.)
Line 19: Line 19:
The formal definition of Algol68 make numerous references to the standard '''prelude''' and '''postlude'''.
The formal definition of Algol68 make numerous references to the standard '''prelude''' and '''postlude'''.


At the time the language was formally defined it was typical for code to be stored on decks of [[wp:Punched card|punched cards]] (or [[wp:Punched tape|paper tape]]). Possibly because storing code on [[wp:Hard disk drive|disk]] (or [[wp:Drum memory|drum]]) was expensive. Similarly it was better that card could be read sequentially from ''just'' one [[wp:Punched card input/output|card reader]]. It appears the Algol68 "standard" assumed all cards could be simply stacked before and after the actual ''source code'', hence the references "prelude" and "postlude" in the formal standard.
At the time the language was formally defined it was typical for code to be stored on decks of [[wp:Punched card|punched cards]] (or [[wp:Punched tape|paper tape]]). Possibly because storing code on [[wp:Hard disk drive|disk]] (or [[wp:Drum memory|drum]]) was expensive. Similarly card decks can be read sequentially from ''just'' one [[wp:Punched card input/output|card reader]]. It appears the Algol68 "standard" assumed all cards could be simply stacked before and after the actual ''source code'', hence the references "prelude" and "postlude" in the formal standard.
==={{header|ALGOL 68G}}===
==={{header|ALGOL 68G}}===
In the simplest case a file can be included as follows:
In the simplest case a file can be included as follows: