|
|
On Wed, 19 Jun 2002 11:33:03 -0400, "Scott Wasson" <swa### [at] townispcom>
wrote:
> Conditional directives are nesting. Therefore the #end on line 6 closes the
> #if on line 4
Yes, it closes #if and only #if, not SDL. Consider this example:
//START
#declare O=
#if(Condition)
sphere{ y 1 rotate x*30
#else
box{ -1 1 translate z
#end
pigment{ rgb 1}
}
//END
Should it report missed "}" in sphere or box ? It is valid statement and no
doubts what is result of this script - there is no such thing like layered
object.
ABX
Post a reply to this message
|
|