POV-Ray : Newsgroups : povray.beta-test : number of parameters in functions : Re: number of parameters in functions Server Time
4 Nov 2024 13:43:17 EST (-0500)
  Re: number of parameters in functions  
From: Mike Williams
Date: 27 Nov 2001 13:08:26
Message: <mASevBACa7A8Ew8e@econym.demon.co.uk>
Wasn't it W3odzimierz ABX Skiba who wrote:
>platform info: Info: WinNT4, PII 233, 128MB, POV3.5b2
>
>I wrote such code:
>
>  #declare func=function(h){h^h}
>  #local New=function{func(1)}
>
>and it works, therefore I changed it to:
>
>  #declare func=function{1+2+3}
>  #local New=function{func()}
>
>it stoped with note that operand expected (what is nonsense for me)
>but I'm mad and I joined both as:
>
>  #declare func=function(h){h^h}
>  #local New=function{func(1)}
>  #declare func=function{1+2+3}
>  #local New=function{func()}
>
>and POV 3.5b2 crashed
>


I've just been doing a bit of checking through the known bugs list, and
can't seem reproduce this in beta 7.

I reckon that it's now fixed and intend to remove it from the known bugs
list.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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