POV-Ray : Newsgroups : povray.general : Automatically named identifiers : Re: Automatically named identifiers Server Time
21 Nov 2024 11:14:07 EST (-0500)
  Re: Automatically named identifiers  
From: Kenneth
Date: 4 Nov 2024 21:50:00
Message: <web.672986e6523ee18491c33a706e066e29@news.povray.org>
Off the top of my head, I would say that it would be easier (less coding) to use
numbers-- like 1, 2, 3 etc-- rather than letters A, B, C. Using letters would
involve generating 'strings' (i.e., text) whereas numbers are much easier to
program with. My opinion ;-)

Even then, I am not sure that #declare statements themselves can be
'auto-generated' the way you mention (only because I don't remember if I have
ever tried that myself.) My own experience is with auto-creating the variable
*after* the = sign.

Others here may prove me wrong, of course!


Post a reply to this message

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