classiccmp-digest V1 #690

From: Eric Dittman <dittman_at_dittman.net>
Date: Fri Aug 17 10:52:50 2001

> > 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

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:33 BST