POV-Ray : Newsgroups : povray.general : #declare and semicolons : Re: #declare and semicolons Server Time
5 Aug 2024 12:13:44 EDT (-0400)
  Re: #declare and semicolons  
From: Andrew Coppin
Date: 22 Sep 2002 06:44:18
Message: <3d8d9f02@news.povray.org>
Amazingly enough, that does fix the problem! I don't know why the first way
doesn't work and the second one does, but hey, I'm happy now. Thanx!

"Slime" <slm### [at] slimelandcom> wrote in message
news:3d8cccdb$1@news.povray.org...
> Are you sure your macro doesn't look something like
>
> #macro Stuff(a)
> #if (a>1) 0
> #else 1
> #end
> #end
>
> 'Cause if it does, changing it to
>
> #macro Stuff(a)
> #if (a>1) #local toreturn = 0
> #else #local toreturn = 1
> #end
> (toreturn)
> #end
>
> will remove the problem.
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

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