|
Posted by Volker Hetzer on 09/15/05 19:57
am_ggh@hotmail.com wrote:
> Erwin
>
> Thanks for replying. I appreciate your input.
>
> Yes you are right, I have the need to set a value to the variable in
> the calling environment (my case happens to be a function within a
> function), In fact I need to possibly initialize variables (since they
> might not even exist) in the calling function. $GLOBALS etc. lead to
> unwanted side effects because of the nature of the task at hand*.
>
> :(
>
> Andy
>
> P.S. *I realize this goes against the lean clean design theme, but the
> task is one of conversion from one language to another :(
Well, maybe then you sould read a book about compiler construction?
As far as I learned, there's no requirement for reaching into the callers
frame. But I do admit, a certain swiss guys books make heavy use of that...
Lots of Greetings!
Volker
Navigation:
[Reply to this message]
|