Am 08.02.2018 um 15:50 schrieb Martin Ward:
On 08/02/18 14:29, Jon Perryman wrote:
knowing full well I wouldn't waste my time learning a language that
is irrelevant to me.
I'm not sure why you think I am asking you to learn a new language.
If you are not sure what the Algol 60 code for the "man or boy test"
actually does, and (not unreasonably) don't want to have to learn
Algol 60 to find out, then there are implementations of the test
in 72 other languages (including C and C++) on the Rosetta Code page:
I would like to thank you very much for posting this.
I never heard about this test before, but I am very fascinated by it,
and I will try it out in the next days on my New Stanford Pascal compiler,
as soon as I have time to do it (there is a Pascal version of the test
on the page you mentioned above).
BTW: I didn't make any changes to the Stanford compiler
with respect to function and procedure parameters, so it should
work the same way as it did in the 1979 version. The Stanford compiler
is a descendant of Wirth's P4 compiler. I will tell you about the results.
Thanks again, kind regards