POV-Ray : Newsgroups : povray.newusers : Variable-Programming Server Time
24 Dec 2024 13:22:27 EST (-0500)
  Variable-Programming (Message 1 to 4 of 4)  
From: Robert
Subject: Variable-Programming
Date: 24 Jan 2003 15:16:45
Message: <3e319f2d@news.povray.org>
I remember a thread dealing with this item, but i can`t find it.
So I would like to ask:

How can I check the value of a variable defined in povray via #declare and
calculated in a #while loop?
I need it to check wether my boundary conditions are correct or not...

Help is very appreciated,

Robert


Post a reply to this message

From: Ross Litscher
Subject: Re: Variable-Programming
Date: 24 Jan 2003 15:35:26
Message: <3e31a38e@news.povray.org>
#debug in the user documentation has an example on how to get a value
printed during parsing if you use the "Warning" part of it. Another thing
you could do is write the value out to a file using #fopen and #write

ross

Robert <rgu### [at] exmailde> wrote in message
news:3e319f2d@news.povray.org...
> I remember a thread dealing with this item, but i can`t find it.
> So I would like to ask:
>
> How can I check the value of a variable defined in povray via #declare and
> calculated in a #while loop?
> I need it to check wether my boundary conditions are correct or not...
>
> Help is very appreciated,
>
> Robert
>
>


Post a reply to this message

From: Robert
Subject: Re: Variable-Programming
Date: 24 Jan 2003 16:54:47
Message: <3e31b627@news.povray.org>
Thanks for the quick help!!
I`ll try it out.

Robert

"Ross Litscher" <lit### [at] osuedu> schrieb im Newsbeitrag
news:3e31a38e@news.povray.org...
> #debug in the user documentation has an example on how to get a value
> printed during parsing if you use the "Warning" part of it. Another thing
> you could do is write the value out to a file using #fopen and #write
>
> ross
>


Post a reply to this message

From: Ross Litscher
Subject: Re: Variable-Programming
Date: 24 Jan 2003 19:09:46
Message: <3e31d5ca$1@news.povray.org>
sure thing. i hope the #debug does what you want, i havn't actually used it
:)


Post a reply to this message

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