[Oberon] Export of scalar/non scalar variables.

Alexey Veselovsky alexey.veselovsky at gmail.com
Tue Dec 24 15:19:03 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?

PS. Merry Christmas!

Thanks, Alexey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/oberon/attachments/20131224/6ad42adc/attachment.html 


More information about the Oberon mailing list