Cambridge ALGOL 68C: Difference between revisions

m
m (Hardly a stub.)
Line 1:
{{implementation|ALGOL 68}}
===The <code>ENVIRON</code> and <code>USING</code> clauses.===
These clauses are kind of the ''inverse'' of the '''#include''' found in the [[C (programming language)|C programming language]], or '''import''' found in [[Python (programming language)|Python]]. The purpose of the <code>ENVIRON</code> mechanism is to allow a program source to be broken into manageable sized pieces. Note that it is only necessary to parse the shared source file once, unlike a '''#include''' found in the C (programming language)|C programming language where the include file needs to be parsed for each source file that includes it.
==== Example of <code>ENVIRON</code> clause ====
A file called ''mylib.a68'':