User defined pipe and redirection operators: Difference between revisions
User defined pipe and redirection operators (view source)
Revision as of 11:44, 4 June 2017
, 6 years ago→{{header|ALGOL 68}}: Re-run with corrected UD pipe operators - pioneer and scientist counts now agree with the Go example. Replaced formatted transput with unformatted as the latest (Windows) Algol 68G didn't like it.
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Add a Perl6 example) |
(→{{header|ALGOL 68}}: Re-run with corrected UD pipe operators - pioneer and scientist counts now agree with the Go example. Replaced formatted transput with unformatted as the latest (Windows) Algol 68G didn't like it.) |
||
Line 87:
=={{header|ALGOL 68}}==
See [[User defined pipe and redirection operators/ALGOL 68]]
{{works with|ALGOL 68|Revision 1; one minor extension - PRAGMA READ; one major extension - Algol68G's [[wp:Currying|Currying]].}}{{works with|ALGOL 68G|tested with release
{{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release [http://sourceforge.net/projects/algol68/files/algol68toc/algol68toc-1.8.8d/algol68toc-1.8-8d.fc9.i386.rpm/download 1.8-8d] - due to extensive use of
'''File: Iterator_pipe_operators.a68'''
<lang algol68>MODE
Line 177:
# Finally check the result: #
))
</lang>
'''Output:'''
<pre>
Pioneer: Adriaan van Wijngaarden - Dutch pioneer; ARRA, ALGOL
Number of Algol pioneers:
Number of scientists:
</pre>
|