Pascal (programming language): Difference between revisions

Content deleted Content added
Language constructs: While completely correct, the example would output an incomplete line and, on some systems, result in no output at all, since some systems buffer output.
Procedures and functions: Although the example actually does not contain an output statement, the name ("printing") strongly implies it. Thus I have placed the required output file in the header.
Line 331:
 
:<syntaxhighlight lang="pascal">
program Printing(output);
 
var i : integer;