POV-Ray : Newsgroups : povray.general : Array in function. Not, but... : Re: Array in function. Not, but... Server Time
14 Jun 2021 17:32:51 EDT (-0400)
  Re: Array in function. Not, but...  
From: Thorsten
Date: 15 Apr 2021 02:55:15
Message: <6077e353$1@news.povray.org>
On 15.04.2021 00:16, Cousin Ricky wrote:
 > You've just been burned by POV-Ray's scope leakage, a design flaw IMO.

It isn't a design flaw as the declare is a preprocessor directive, so it 
all happens at well defined times during parsing and there are no leaks 
of variables. It is common to languages with preprocessors, in 
particular C/C++. I agree that it is annoying though.

Thorsten


Post a reply to this message

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