POV-Ray : Newsgroups : povray.general : The Language of POV-Ray : Re: The Language of POV-Ray Server Time
10 Aug 2024 11:26:06 EDT (-0400)
  Re: The Language of POV-Ray  
From: Tor Olav Kristensen
Date: 9 Mar 2000 17:04:55
Message: <38C81EE7.5E35B960@hotmail.com>
Ron Parker wrote:

> On Thu, 09 Mar 2000 11:10:38 -0800, Ken wrote:
>
> >So the way I see it by adding this you would save yourself the effort
> >of typing one character.
>
> #declare MyArray[25*X+5*Y+Z][Colour.r] = MyArray[25*X+5*Y+Z][Colour.r] + 1;

How about making the editor do the re-typing for the lazy ones?

When you type

#declare something +=

and a function key, then the editor just auto-replaces the

+=

with

= something +

so the sentence becomes

#declare something = something +


Regards

Tor Olav

mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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