Address of a variable: Difference between revisions
Content added Content deleted
m (→[[#ALGOL 68]]) |
|||
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 |
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 |
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 |
options. And <code>chan</code> is the actual device type. Standard CHANNELs in |
||
<code>stand |
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>, |
|||
⚫ | |||
<code>stand out</code>, and <code>stand back</code>. A site would be expected to |
|||
⚫ | |||
=={{header|C sharp|C #}}== |
=={{header|C sharp|C #}}== |