POV-Ray : Newsgroups : povray.beta-test : Function parameter bug : Re: Function parameter bug Server Time
30 Jul 2024 14:29:44 EDT (-0400)
  Re: Function parameter bug  
From: Rune
Date: 27 Oct 2001 06:09:18
Message: <3bda87ce@news.povray.org>
"Thorsten Froehlich" wrote:
> The parser values are inserted first by substituting
> every variable you declared.

But it doesn't make sense to have parameters that are constant! And indeed
an error is generated as I reported! The *only* result of the way it woks
now is apparently that parameter names cannot use the same name as declared
variables and that's *very* inconvenient, as it's very common to use
one-letter names for both variables and for function parameters.

> You mistake is part of the functions are no macros misunderstanding!

But what's the logic behind how it works? It seems to be a big limitation
that have no positive effects at all...

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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