|
![](/i/fill.gif) |
Ben Chambers <ben### [at] pacificwebguy com> wrote:
> OK, as an offshoot from another thread here, perhaps an even simpler
> solution to the problem exists. What if, everytime you #declare an
> object which has already been #declare'd, the parser gives you a warning
> telling you what was re#declare'd and where?
#declare Index = 0;
#while(Index < 10000)
#declare TheObject = sphere { <Index, 0, 0>, 1 pigment { rgb 1 } };
... (do something with TheObject) ...
#declare Index = Index+1;
#end
How many warnings do you get?
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |