nojb
2011-07-29 13:20:37 UTC
Hello,
Is this valid according to the Oberon-07 specification?
MODULE A;
TYPE T* = ARRAY 10 OF INTEGER;
END A.
MODULE B;
IMPORT A;
VAR X : INTEGER; Y : A.T;
BEGIN
X := Y[3]
END B.
That is, when a type (e.g. A.T) is exported, is it exported as
an 'abstract' type (one we don't know the structure of),
or is it exported as a 'concrete' type (one we do know the
structure of)?
Thanks,
N
Is this valid according to the Oberon-07 specification?
MODULE A;
TYPE T* = ARRAY 10 OF INTEGER;
END A.
MODULE B;
IMPORT A;
VAR X : INTEGER; Y : A.T;
BEGIN
X := Y[3]
END B.
That is, when a type (e.g. A.T) is exported, is it exported as
an 'abstract' type (one we don't know the structure of),
or is it exported as a 'concrete' type (one we do know the
structure of)?
Thanks,
N