POV-Ray : Newsgroups : povray.binaries.animations : POVigma: I just can't get it right! : Re: POVigma: I just can't get it right! Server Time
26 Apr 2024 11:39:02 EDT (-0400)
  Re: POVigma: I just can't get it right!  
From: Le Forgeron
Date: 30 Aug 2015 02:20:27
Message: <55e2a0ab$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 29/08/2015 22:36, "Jörg \"Yadgar\" Bleimann" a écrit :
> Hi(gh)!
> 
> On 29.08.2015 19:30, Le_Forgeron wrote:
> 
>> Rewrite the loop to avoid #break, using #else instead... might
>> help.
> 
> To be honest, I have no clue how to do this...
> 

You should try harder, because, contrary to C and Java, in povray SDL,
#break does not jump out of a block (or loop).

#break is reserved to #switch, and jump to the next #end. Nothing
less, nothing more. (and given the parser, it's not really a jump,
just ignoring thinks until #end is found).

so, your code is not doing what you think it should do.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlXioKoACgkQhKAm8mTpkW3+YgP+I1BSyi18KT2BHD0+KlTPZYG0
b0w5iSqGFJ5y13mV3Ad7v5IbfIpdZDxhHfLdVEbGznaxqQo25xDi/5EpgFWjTEFr
7+RGcShJguHgk6tZI69JG5gP2fFkizknbXTGMlB6gI3GUcgMhSXbOM4hgDUDCgjx
YgH+OPKUzDv7MVRt/p8=
=Oplz
-----END PGP SIGNATURE-----


Post a reply to this message

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