POV-Ray : Newsgroups : povray.beta-test : min and max change in beta 10 [engine, doc, include files] Server Time
2 Nov 2024 07:24:06 EDT (-0400)
  min and max change in beta 10 [engine, doc, include files] (Message 1 to 2 of 2)  
From:
Subject: min and max change in beta 10 [engine, doc, include files]
Date: 15 Jan 2002 07:45:07
Message: <tb884ugrfpfo88419c1nhnbhfabkqnkvhq@4ax.com>
POV 3.5 b 10.icl on PII 233 128 MB with NT 4 Sp 6

[ENGINE]

If there is function available in both: function engine and "old-style" parser
then in both it accepts the same syntax. Hovewer after new syntax of min and max
in function engine old behaviour not follow it. I mean below syntax is correct:

#local min3=function(a,b,c){min(a,b,c)}

but below reports parsing error

#local a=min(1,2,3);

However it is according to
http://www.povray.org/working-docs/id000135.html#6_1_3 but I wonder if it is
intentional.

[DOCUMENTATION]

6.1.6 : in syntax frame there is old style min only listed

[INCLUDE FILES]

longer existing of max3 and min3 functions in math.inc could be nonsense when
old min behaviour could be changed

ABX


Post a reply to this message

From: ingo
Subject: Re: min and max change in beta 10 [engine, doc, include files]
Date: 15 Jan 2002 12:37:33
Message: <Xns9197BDB5CB4ECseed7@povray.org>

Skiba wrote: 

> [DOCUMENTATION]
> 
> 6.1.6 : in syntax frame there is old style min only listed

I'll wait and see what happens.

Ingo


Post a reply to this message

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