|
![](/i/fill.gif) |
In article <slr### [at] fwi com>,
ron### [at] povray org (Ron Parker) wrote:
> The problem isn't the macro, it's the switch. Switches don't work with
> strings. You can either use a chain of #if...#else #if...#else statements,
> or you can switch to using numbers instead of letters.
You might do the latter using the asc() function:
#switch(asc(Choice))
#case(asc("A"))
...
--
Christopher James Huff - chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |