Infocom on PDP-11

Paul Koning pkoning at equallogic.com
Thu May 12 09:28:12 CDT 2005


>>>>> "Cameron" == Cameron Kaiser <spectre at floodgap.com> writes:

 >> The Algol/Pascal rule is very simple: semicolons between
 >> statements.  Since Algol at least has null statements, if you
 >> throw in an extra one it doesn't hurt, but that's the rule and it
 >> works very well.
 >> 
 >> Thus the program that Cameron quoted as begin; writeln('You had
 >> best not be dissing Pascal, boy'); end.
 >> 
 >> should be written without either of the semicolons.

 Cameron> Why? (Unless you're talking about Algol.)

Because Pascal uses the same rule of semicolons as Algol does.

	paul



More information about the cctalk mailing list