How to include??

KAR akmalxxx at gmail.com
Wed Oct 17 23:44:59 PDT 2007


BCS Wrote:

> Reply to KAR,
> 
> > however does all import should be declare as a module?
> > 
> 
> I don't understand the question. could you please rephrase it.
> 
> I'll take a few guesses though:
> 
> import is only allowed at module scope, not in a class or function or sutch.
> 
> only a module can be imported, you can't import all modules in a directory 
> (a apckage) with one import, you need to import each module by its self.
> 
> You can import only a few symbols from a module with selective imports (that's 
> in the docs).
> 
> 

im getting the ideas now. thanks alot


More information about the Digitalmars-d-learn mailing list