Category:PL/0: Difference between revisions
m
no edit summary
(Added features.) |
mNo edit summary |
||
Line 8:
The only data type are integer numbers. The only operators are arithmetical and comparison ones. There is a function <code>odd</code> which examines if the integer argument is odd.
In the original implementation presented by Wirth, there are no input and output routines. The
<syntaxhighlight lang="pascal">
var a, b;
Line 35:
5
</pre>
The flow control structures are ''if-then'' and ''while-do'' constructs, and procedures defined by the user. Procedures cannot accept any parameters.
|