How to include??

BCS ao at pathlink.com
Thu Oct 18 07:39:39 PDT 2007


Reply to Ary,

> BCS wrote:
> 
>> import is only allowed at module scope, not in a class or function or
>> sutch.
>> 
> IIRC import is allowed in classes.

Oh. it is? Didn't know that

> Also in structs, version, debug, etc.
> 

well the inside of static if, version and debug are technically at the same 
scope as the outside so...




More information about the Digitalmars-d-learn mailing list