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: Mon, 11 Jul 2005 15:18:55 +0100

Hi,

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]