POV-Ray : Newsgroups : povray.advanced-users : Non-float #case values : Non-float #case values Server Time
20 Apr 2024 06:54:41 EDT (-0400)
  Non-float #case values  
From: Bald Eagle
Date: 5 Apr 2017 20:00:00
Message: <web.58e584232f620f0f80403a200@news.povray.org>
Would it take a lot to implement values in a #switch block, so that letters or
words could be used as selection criteria as well?

If not, or for the time being, is there a more elegant way to do this other than
a ton of #if ... #end's, or creating some sort of conversion index for the
strings?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.