POV-Ray : Newsgroups : povray.beta-test : can't redefine identifier : Re: can't redefine identifier Server Time
30 Jul 2024 06:18:57 EDT (-0400)
  Re: can't redefine identifier  
From: Thorsten Froehlich
Date: 3 Jan 2002 13:32:01
Message: <3c34a3a1@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> So documentation needs update in this subject.
> But note I'm not redeclaring function in below two lines!
>
> #declare C=10;
> #declare C=function{x+y+z};

True, the check only works by looking if the variable name is redeclared.
While it was by design, if the check doesn't work this can probably be
improved as well when fixing the checking of redeclared functions.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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