POV-Ray : Newsgroups : povray.general : Bug. Known? Server Time
15 Nov 2024 03:21:34 EST (-0500)
  Bug. Known? (Message 1 to 3 of 3)  
From: Shay
Subject: Bug. Known?
Date: 7 Dec 2004 16:57:32
Message: <41b6274c$1@news.povray.org>
// Windows 98. 650Mhz with 128?M RAM.
// Sometimes fails to change value to "1" in latest 3.6
// quantity and iteration of failures changes when
// "Buggy" lines are uncommented.
// No failures in 3.5

// #local Buggy = 1;
// #local Buggy = 1;
// #local Buggy = 1;
#macro Change_Value ( VARIABLE )
	#local VARIABLE = 1;
#end

#local c0 = 0; #while ( c0 < 10000 )
	#local MyVariable = 0;
	Change_Value ( MyVariable )
	#if ( MyVariable = 0 )
		#warning "Value didn't change\n"
	#end
#local c0 = c0 + 1; #end

  // -Shay


Post a reply to this message

From: Slime
Subject: Re: Bug. Known?
Date: 7 Dec 2004 18:08:58
Message: <41b6380a$1@news.povray.org>
Yup, and will be fixed in 3.6.2 according to Thorsten.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Manuel Mata
Subject: Re: Bug. Known?
Date: 8 Dec 2004 03:25:00
Message: <web.41b6ba1465dc6d81a15100ed0@news.povray.org>
I think you have to use

#declare VARIABLE=1;

into the macro instead of #local

                 Manuel Mata
                 http://es.geocities.com/manuel_mata_rueda


Post a reply to this message

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