[Oberon] ORD and scalar types

August Karlstrom fusionfile at gmail.com
Wed Mar 7 15:01:43 CET 2018

According to the Oberon-07 language report, the procedure ORD accepts 
parameters of type CHAR, BOOLEAN and SET. In Project Oberon 2013, 
however, ORD accepts parameters of any scalar type; even NIL. The 
procedure Texts.WriteReal, for instance, uses ORD(x) for the real number 
x. Is this to be considered a language extension?

-- August

More information about the Oberon mailing list