I can’t seem to find any mention of command line standard input/output… Console readln, writeln do nothing.
Help
What platform? writeLn should work on all platforms (but if you run on the mac you need a console attached to see it)
PC with Win 8.1. The properly compiled hello.pas outputs absolutely
nothing:
namespace std;
interface
implementation
BEGIN {hello}
VAR
i : integer;
FOR i := 1 TO 10 DO BEGIN
WriteLn('Hello, world.');
END;
END {hello}.
Did you create a Console Application?
I get this:
(Set a breakpoint so I could see the output)
No. This is a program written on a text editor and compiled with the
command line compiler oxygene, ie., “oxygene hello,pas”