gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] import legal or illegal


From: Gaius Mulley
Subject: [Gm2] import legal or illegal
Date: Thu, 21 Jul 2005 12:28:30 +0100


Hi,

[this probably didn't get emailed out during the mailing list downtime
 apologies if it is a duplicate]

I just seen this use of 'FROM inner IMPORT foo' my question is, "is
it legal?". I cannot find the answer (yet) in the ISO standard from
examining the index.

Thanks Gaius


MODULE import2 ;

   MODULE another ;
   FROM inner IMPORT foo ;
   BEGIN
      foo := 99
   END another ;

   MODULE inner ;
   EXPORT foo
   VAR
      foo: CARDINAL ;
   BEGIN
   END inner ;

BEGIN
END import2.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]