#110876 - 2004-01-09 04:05 PM
Re: 4.5 alpha
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Quote:
OK, will admit it was a bit of a brain fart. Did not think it through. Still, have to wonder (BF Alert) if Execute() could be pre-parsed for var names.
The quick answer is "no".
The long answer is that Execute() statements have to be parsed at run-time. You cannot substantiate a variable until it has a value, and it does not have a value unless the code is executing.
In the case of the example I gave the value of the (indirectly referenced) variable is constant as it is a very simple example. In a more complex example the variable name may be constantly changing.
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 834 anonymous users online.
|
|
|