|
|
Hello
Dan Connelly wrote in message <360CDC9A.FA6A3850@flash.net>...
>Note doing an #undef anItem before #local prevents the error
>message.
Yes, of course it does... to be on the safe side, you can even add something
like
#ifdef (anItem)
#local thrulyImprobableName_dkjgglk=anItem
#undef anItem
#end
<some code>
#undef anItem
#ifdef(thrulyImprobableName_dkjgglk)
#declare anItem=thrulyImprobableName_dkjgglk
#end
BUT, apart from being tedious, (and eventually fucking up the anItem true
scope) this does not keep what I thought to be the main advantage of #local:
the opportunity to use any name in generic #include files.
Don't misunderstand me: I do not complain - I explain. Pov is really good
and I really apreciate #local much as it is. I hope this slight restriction
will be indicated in the final manual.
Povingly,
Philippe
Post a reply to this message
|
|