[Oberon] Export of scalar/non scalar variables.

Alexey Veselovsky alexey.veselovsky at gmail.com
Mon Dec 30 17:26:20 CET 2013


Hi!

In Oberon language report 2013 there is rule:

> Variables cannot be exported, with the exception of those of scalar types in read-only mode.

But there is no definition for scalar type.


Also in Project Oberon 2013 (which uses Oberon-07/13) module ORS
exports array variable:

MODULE ORS;

TYPE Ident* = ARRAY IdLen OF CHAR;
VAR id*: Ident;

END ORS.

Array of char - scalar?

Thanks, Alexey.



More information about the Oberon mailing list