Address of a variable: Difference between revisions

Content added Content deleted
Line 36: Line 36:
a card reader, a card punch or a line printer, or even to a set up in
a card reader, a card punch or a line printer, or even to a set up in
nuclear physics the results of which are collected by the computer),
nuclear physics the results of which are collected by the computer),
or to a filestore maintained by the operating system.</i>
or to a filestore maintained by the operating system</i>[http://www.xs4all.nl/~jmvdveer/report_5.html#A312aa].


To establish a channel with such a device there is a special standard procedure:<pre>
To establish a channel with such a device there is a special standard procedure:<pre>
PROC establish = (REF FILE file, STRING idf, CHANNEL chan, INT p, l, c) INT: ~ </pre>
PROC establish = (REF FILE file, STRING idf, CHANNEL chan, INT p, l, c) INT: ~ </pre>
Where the <code>idf</code> string is text describing which device to open, and possibly options.
Where the <code>idf</code> string is text describing which device to open, and possibly
And <code>chan</code> is the actual device type. Standard CHANNEL in ALGOL 68 are <code>stand in chan</code>,
options. And <code>chan</code> is the actual device type. Standard CHANNELs in
<code>stand out chan</code>, and <code>stand back chan</code>. Site would be expected to implement their own
ALGOL 68 are <code>stand in chan</code>, <code>stand out chan</code>, and <code>stand
back chan</code>. These determine the type of the pre opened stdio FILEs <code>stand in</code>,
CHANNELS for database queries and particle accelerators etc.
<code>stand out</code>, and <code>stand back</code>. A site would be expected to
implement their own CHANNELs for network connections, database queries and particle accelerators etc.


=={{header|C sharp|C #}}==
=={{header|C sharp|C #}}==