[sv-bc] Questions on export statemet

From: Surya Pratik Saha <spsaha_at_.....>
Date: Sat Jan 10 2009 - 06:13:37 PST
Hi,
For export of 'package_name::*' form, is it required any 'import 
package_name::*' to be declared lexically before the export declaration? 
Or is the following example legal?

package p2;
    export p1::*;
    import p1:*;
endpackage

I can understand for export of 'package_name::name', some import 
declaration has to be present before that, otherwise it is illegal.

Please let me know.

-- 
Regards
Surya




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sat Jan 10 06:14:53 2009

This archive was generated by hypermail 2.1.8 : Sat Jan 10 2009 - 06:15:37 PST