imports - 2 years later

Derek Parnell derek at psych.ward
Thu Mar 9 08:00:11 PST 2006


On Fri, 10 Mar 2006 00:28:50 +1100, Ant <Ant_member at pathlink.com> wrote:

> In article <ops5425bcg23k2f5 at nrage.netwin.co.nz>, Regan Heath says...
>>
>> I believe Walter discourages the use of import inside a class and I
>> believe your use of them is the reason for the problem.
>
> I need to make a joke and a note:
>
> so we have a ternary logic:
> - import in module: true
> - import in function: false
> - import in class: maybe

Why would one think of importing stuff into a class? I don't get it. Are  
you trying to make the imported stuff 'local' to the class members and  
nothing else?

-- 
Derek Parnell
Melbourne, Australia



More information about the Digitalmars-d-bugs mailing list