OUTPUT
by PUNCH
. He also suggested
the following program:
This solution is certainly slower than the one given, although it is more of a "self-copying" program than a self-reproducing one, since it relies on facilities of the operating system (including the capacity to rewind the standard input file).PUNCH = REWIND(5) INPUT;END
procedure main();x:="write(\"procedure main();x:=\",image(x));write(x);end" write("procedure main();x:=",image(x));write(x);end