POV-Ray : Newsgroups : povray.off-topic : Tell me it isn't so! : Re: Tell me it isn't so! Server Time
6 Sep 2024 13:17:38 EDT (-0400)
  Re: Tell me it isn't so!  
From: andrel
Date: 29 Jul 2009 11:19:27
Message: <4A706880.1000405@hotmail.com>
On 29-7-2009 5:46, Darren New wrote:
> Nicolas Alvarez wrote:
>> Darren New wrote:
>>> Warp wrote:
>>>> you could do a "GOTO xyz" where xyz was a variable.
>>> What, ON GOTO and ON GOSUB weren't good enough for you? :-)
>>
>> What, no COMEFROM?
> 
> Actually, the problem with GOTO is not the GOTO, but the label. If you 
> added a COMEFROM, you'd actually have a much easier time figuring out 
> the code.
> 
The clasical comefrom has a syntax of "COMEFROM 110" and as soon as the 
program comes to line 110 it will continue the line after the comefrom.

see also http://en.wikipedia.org/wiki/COMEFROM


Post a reply to this message

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