|
![](/i/fill.gif) |
Hey Warp,
Actually, you're right.
For some reason I was thinking of this:
"string" + variable + "string"
And logically, after a very long day, I completely invert the concept.
Sheesh...I really don't get enough sleep.
I do apreciate your help.
Ian
"Warp" <war### [at] tag povray org> wrote in message
news:4796f8a2@news.povray.org...
> [GDS|Entropy] <gds### [at] hotmail com> wrote:
>> #local Positions[J][Jx] = <0,var+J,0>; // so that it would be processed
>> as
>> var0 etc..
>
>> Normally one could accomplish this quite easily in any other
>> language...and
>> I am guessing this is possible in sdl as well...
>
> I don't know of any language which would interpret "var+J" as anything
> else than the sum of the values of 'var' and 'J'. Also, I don't know many
> languages which support creating variable names from expressions and then
> interpreting those variable names (maybe PHP is one of them).
>
> --
> - Warp
Post a reply to this message
|
![](/i/fill.gif) |