POV-Ray : Newsgroups : povray.pov4.discussion.general : On new directive to stop after parsing. A near term trick. : Re: On new directive to stop after parsing. A near term trick. Server Time
14 Apr 2024 12:56:48 EDT (-0400)
  Re: On new directive to stop after parsing. A near term trick.  
From: Kenneth
Date: 26 Mar 2024 13:40:00
Message: <web.66030855ca6c83fa9b4924336e066e29@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> I often stop POV-Ray after parsing by adding an #error directive:
>
> #error "Stopping after parse"
>
> at the very bottom of some scene description language (SDL) code.
>
> It works but, with the disadvantage of setting a non-zero return code;
> something which makes testing the parser harder.
>

What is a 'non-zero return code', and what testing problems(s) does it cause
when using #error? I confess to complete ignorance of it :-/


Post a reply to this message

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