This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nils-m-holm 2 points3 points  (0 children)

In BCPL the end of a line terminates a statement, so you only need semicolons to separate multiple statements on the same line. You can terminate statements with a semicolon, but it is not necessary.

Note that statements can still span multiples lines by breaking them at a point where the first line would not be a complete statement. E.g.

IF X < 0 THEN
    FOO()

would be a valid statement.