hi,
the docs say "Note: As of version 3.7 the #break directive can now be used: ...
anywhere within a #macro to preliminarily terminate the macro."
<https://wiki.povray.org/content/Reference:Conditional_Directives#Index_Entry_break>
but I get an error "File 'brktst.pov' line 10: Parse Error: Invalid context for
#break", from both v3.7.0.8 and v3.8 POV-Rays. the "scene":
#version 3.7;
global_settings {assumed_gamma 1}
#macro m_flag(f_)
#if (!f_)
#break
#else
#debug "ok.\n"
#end
#end
m_flag(true)
m_flag(false)
regards, jr.
Post a reply to this message
|