POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
10 Aug 2024 23:27:59 EDT (-0400)
  Re: The Language of POV-Ray  
From: Matt Giwer
Date: 16 Mar 2000 00:11:50
Message: <38D06D44.A6D87B5D@ij.net>
Nigel Stewart wrote:
> 
> > : From the viewpoint of a computer scientist (I'm one) this is a not a
> > : syntactically correct defiend for-loop. The variable of a for-loop
> > : belongs to the for-command and should be never _changable_ by the user.
> 
>         I strongly disagree.  It is in fact syntactically correct,
>         and there is no theoretical reason that the loop variable
>         is more sacred than any other variable.

for j = 1 to 10 step 1

for i = 1 to 10 step 1

if (i = 4) and (j = 2) and keypressed(E or e) then i = 2 and j =
4 

next i

next j 

-- 
A free internet for a free people.


Post a reply to this message

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