|
 |
Hello
I just discovered something, which Looks to me like a bug: When I try to use
#while in a macro, I get an error-message:
Parse Error: No matching } in 'object', object found instead
I append the code which triggers the error:
//---------------------------------------------------------------------
#declare myBox = box {<0,0,0> <1,1,1> texture{pigment{color <1,1,1>}}}
#macro myMacro (myStart, myEnd, myBox)
#local myVar = myStart;
#while (myVar <10)
object {myBox translate <myVar,0,0>} //Here occurs the error
#local myVar = myVar + 2;
#end
#end
object { myMacro (0, 20, myBox)}
//---------------------------------------------------------------------
Maybe there's a solution from someone...
Greetings
Juerg
Post a reply to this message
|
 |