3 ms·
Welcome to Pascal.
by kayamon 9y ago
Welcome to Pascal.
- clouddrover 9y agoHow do you mean? In Pascal the semicolon after the last statement of a block is optional. So, for example, this: function square(const x : Integer) : Integer; begin result := x * x; end; Is equivalent to: function square(const x : Integer) : Integer; begin result := x * x end; If you mean in if-then-else constructions, then yes the semicolon must be at the end of the statement: if (condition) then dosomething else dosomethingelse;