Import concerns revisited
Dave
Dave_member at pathlink.com
Sun Jul 9 11:21:58 PDT 2006
kris wrote:
> Dave wrote:
>> kris wrote:
>>> You've seen the requested syntax for this option, Walter. Let's
>>> revisit it again:
>>>
>>> # with m2 import func, abcd, efgh;
>>>
>>>
>>
>> That doesn't address the aliasing if I'm understanding correctly (what
>> if m3 is imported and has an 'abcd' and 'efgh' also)?
>
>
> The proposed syntax for that has been noted as the following:
>
> # with m3 import func, abcd as myabcd, efgh as myefgh;
>
> or
>
> # from m3 import func, abcd as myabcd, efgh as myefgh;
Thanks for the clarification - I had missed where the aliasing could
also be done with 'from'.
More information about the Digitalmars-d
mailing list