From: Ken
Subject: Re: Different error messages for same POV-file
Date: 17 Mar 2000 10:08:31
Message: <38D249E9.62CF25D3@pacbell.net>
Nieminen Juha wrote:
> > Chris Huff <chr### [at] yahoocom> wrote:> : And just to nit-pick, your while loop is indented wrong> > Don't tell him how to indent. He will not listen anyways :)
You sure got that one right.
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
From: PoD
Subject: Re: Different error messages for same POV-file
Date: 17 Mar 2000 15:24:50
Message: <38D29BC3.8ACD0FC9@merlin.net.au>
#declare Foo = Bar;
Now replace Foo with whatever variable you want and replace Bar with
whatever you want to initialise it with.
Doesn't that make more sense than having lots of rules about when to put
the semicolon?
PoD.
From: Tor Olav Kristensen
Subject: Re: Different error messages for same POV-file
Date: 17 Mar 2000 22:42:00
Message: <38D2F9B2.2E69D588@hotmail.com>
Chris Huff wrote:
> > > error: undeclared identifier expected but float function 'clock_delta'> > found instead.> > It sounds like POV is using(internally, not in your scene) a variable> that doesn't get initialized...this would qualify as a bug even if that> isn't the cause.>
Do you think this may be the same bug that appears when running the
file I enclosed in my posting "POV-file that crashes POV-Ray"
17. March ?
Regards
Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html
From: Tor Olav Kristensen
Subject: Re: Different error messages for same POV-file
Date: 17 Mar 2000 22:52:48
Message: <38D2FC3B.2972B2A1@hotmail.com>
I have now found a way to do several nested
calls of macros that passes arrays to each other
(like in the last macro below), without
getting error messages and without having to
make global declarations of local variables.
I will post my "solution" here if anyone is
interested.
Regards
Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html
Tor Olav Kristensen wrote:
> > ...I want to be> able to replace macros like e.g. this one:> > #macro Minv(MM)> > #local NN = array[3]> #local PP = array[3]> #local QQ = array[3]> #local s = 1/Mdet(MM);> #local NN = Mcof(MM)> #local PP = Mtrans(NN)> #local QQ = Mscale(s, PP)> > QQ> > #end> > with macors like this one:> > #macro Minv(MM)> > Mscale(1/Mdet(MM), Mtrans(Mcof(MM)))> > #end>