POV-Ray : Newsgroups : povray.general : using a charact as #macro paramater? : Re: using a charact as #macro paramater? Server Time
7 Aug 2024 15:19:56 EDT (-0400)
  Re: using a charact as #macro paramater?  
From: Bob H 
Date: 27 Aug 2001 16:42:22
Message: <3b8ab0ae@news.povray.org>
Actually, you might be able to use  asc("H")  to get the number of a letter
(character code) and then use that as the switch parameter.  Could even use
small and capital letters, or other symbols, just open a character map to
see what's what.  "A" starts at 65 and integer count goes up from there to Z
then there's a few symbols between before "a" at number 97.  Caution:
there's several reserved small letters as you probably know.

Bob H.


Post a reply to this message

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