POV-Ray : Newsgroups : povray.beta-test : error in SQRT : Re: error in SQRT Server Time
5 Nov 2024 05:22:02 EST (-0500)
  Re: error in SQRT  
From: JRG
Date: 6 Sep 2001 09:27:04
Message: <3b9779a8@news.povray.org>
But I tried to define a sqr macro as follows:

#macro sqr(A)
A*A
#end

and I got

Parse Error: Expected 'undeclared identifier', sqr found instead.



"Ron Parker" <ron### [at] povrayorg> ha scritto nel messaggio
news:slr### [at] fwicom...
> On Thu, 6 Sep 2001 15:20:11 +0200, JRG wrote:
> >This scene works perfectly in MegaPov. It's the *lightflow thingy* made
by
> >Warp.
> >
> >Parse Error: Expected 'operand', sqr found instead.
>
> POV 3.5 is not MegaPOV.  POV 3.5 does not have a "sqr" function.
>
> --
> #local R=<7084844682857967,0787982,826975826580>;#macro
L(P)concat(#while(P)chr(
> mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf
L(R.x)L(R.y)0,0
> translate<-.8,0,-1>}text{ttf
L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
> 4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody
else's


Post a reply to this message

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