[Oberon] LONGINT, RETURN & etc.

peter at easthope.ca peter at easthope.ca
Fri Jun 9 15:57:59 CEST 2017


In pages 5 and 6 of _Project Oberon_, Revised Edition 2013, 
Prof. Wirth states, 
"1. The data types LONGINT, ... have been discarded, ...
  ...
3. The RETURN statement has been discarded ..."

While in Peter De Wachter's emulator, 
"MODULE Edit; (*JG 2.11.90 / NW 28.11.2015*)
  ...
  PROCEDURE Max(i, j: LONGINT): LONGINT;
    VAR m: LONGINT;
  BEGIN IF i >= j THEN m := i ELSE m := j END ;
    RETURN m
  END Max;"

Wirth's revisions of syntax not yet implemented?

Thanks,          ... Lyall E.
 
-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca



More information about the Oberon mailing list