> > PROGRAM SayHello(INPUT, OUTPUT)
> > BEGIN
> > WHILE (TRUE)
> > BEGIN
> > WRITELN('Hello World');
> > END;
> > END.
>
> I think what you wanted to say was this:
> PROGRAM SayHello(OUTPUT);
> BEGIN
> WRITELN('Hello World');
> END.
The BASIC program printed "Hello World" over and over,
so the WHILE loop is used do the same thing in the Pascal
program. Your program just prints "Hello World" once.
--
Eric Dittman
dittman_at_dittman.net
School Zones: Man's attempt to thwart natural selection.
Received on Fri Aug 17 2001 - 10:52:50 BST