POV-Ray : Newsgroups : povray.beta-test : number of parameters in functions : number of parameters in functions Server Time
4 Nov 2024 13:44:35 EST (-0500)
  number of parameters in functions  
From:
Date: 19 Sep 2001 08:24:42
Message: <kc3hqtkgj93f82rpkj6puvlj8f5cs7nk0q@4ax.com>
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

ABX


Post a reply to this message

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