News for hackers. Stuff that matters.
Re:A modest proposal by kayamon on Saturday September 09, 2017 @04:34AM (#15206110)
Welcome to Pascal.
Re:A modest proposal by clouddrover on Saturday September 09, 2017 @07:21AM (#15206563)
How 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;