in news:3da38a72@news.povray.org Warp wrote:
> #switch (asc(myString))
> #case (asc("s"))
> #case (asc("S")) #local ret=vStart; #break
> #case (asc("e"))
> #case (asc("E")) #local ret=vEnd; #break
> #case (asc("c"))
> #case (asc("C")) #local ret=vEnd; #break
> #else #error "[!] Unknown logo fade type\n\n"
> #end
>
or
#switch (asc(strupr(myString)))
#case (asc("S")) #local ret=vStart; #break
#case (asc("E")) #local ret=vEnd; #break
#case (asc("C")) #local ret=vEnd; #break
#else #error "[!] Unknown logo fade type\n\n"
#end
Ingo
Post a reply to this message
|