POV-Ray : Newsgroups : povray.general : Break out of a macro? : Break out of a macro? Server Time
16 May 2024 02:08:25 EDT (-0400)
  Break out of a macro?  
From: Mike Horvath
Date: 31 Jan 2016 17:02:27
Message: <56ae8473@news.povray.org>
Let's say that based on a condition inside Macro A, I want to 
immediately switch over to Macro B instead without processing the rest 
of Macro A. How do I do this in POV-Ray? In a normal scripting language 
I would simply use a return statement to stop Macro A, but POV-Ray 
doesn't have a return statement.


Mike


Post a reply to this message

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