POV-Ray : Newsgroups : povray.general : #declare blah =3D -1; // bug avoidance (avoids "incomplete function or s= : Re: #declare blah =3D3D3D3D3D -1; // bug avoidance (avoids "incomplete f= Server Time
1 Aug 2024 04:13:14 EDT (-0400)
  Re: #declare blah =3D3D3D3D3D -1; // bug avoidance (avoids "incomplete f=  
From: Charles C
Date: 7 Aug 2006 14:35:01
Message: <web.44d786d2215c4c0cb160ffde0@news.povray.org>
"Charles C" <nomail@nomail> wrote:
>
> #macro DoSomething(Variable)
>    #local TempVariable = Variable;
>    #declare TempVariable = Variable + 1;
> #end

It should've been a #declare in this case.  Normally there's a lot more in
the macro and I'll only #declare what I want to keep.


Post a reply to this message

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