Rune wrote:
>
> iden( string )
>
> Turns a string into an identifier.
>
> For example:
>
> #declare iden("ThisFloat") = ThatFloat*2;
>
> or
>
> #declare ThisFloat = iden("ThatFloat")*2;
>
> I find myself often need such a feature *very* much!
>
> Please, anyone? :)
>
> Rune
I'm not sure if that's easy to implement, furthermore it's likely to
produce errors because the string can change during eveluation of the Pov
code.
BTW, i don't know any programming language that has such a function.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|