POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
10 Aug 2024 17:27:33 EDT (-0400)
  Re: The Language of POV-Ray  
From: Axel Baune
Date: 21 Mar 2000 08:15:15
Message: <38D77617.D8B34436@neuro.informatik.uni-ulm.de>
Hi,

John VanSickle wrote:
> 
> Or make it like C really is:
> 
> #for (whatever initialization you want;
>       condition to continue;
>       whatever update you want)
> 
> #end

Not exactly like C is!

I think if you want it like C then the syntax is:

#for (whatever you want;
      whatever you want;
      whatever you want)

as for in C and C++ you can do _anything_ in for-specification block,
even everything else than initialisation, break condition and update
code. You could even leave everything of the initialisation, break
condition and update code and do anything else.

Huuuuuuu. very ugly......

Yours Axel


Post a reply to this message

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