POV-Ray : Newsgroups : povray.general : How about $ for declare? : Re: How about $ for declare? Server Time
3 Aug 2024 00:21:17 EDT (-0400)
  Re: How about $ for declare?  
From: Ross
Date: 16 Aug 2004 10:36:43
Message: <4120c67b$1@news.povray.org>
"Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote in message
news:Xns954536876C74raf256com@203.29.75.35...
> chr### [at] gmxde news:cfjc1l$vh2$1@chho.imagico.de
>
> > other keyword with the shortest unique abbreviation - but no one could
> > read the code any more then.
>
> Btw, how about adding some shorten forms for long and often used keywords,
> it could spedd up typing and comforable level of hand-typing .pov code,
> like
>
> light { y*10 rgb 1 }
> diff {
>   box { -5, +5 }
>   sphere { 0 10 }
>   text {
>   pig { bozo cmap{0:<1,0,0> .5:<1,1,0> 1:1} }
>   norm{ bozo .5 }
>   fin { refl .5 phong 0.5,70 spec 0.1,0.06 }
> }
>
> ?
>
> Aliasing keyword is probably easy, another format of for example color_map
> perhaps not so much.
>
> Just an idea.
>

How about using a text editor that supports word completion. something like
what the tab key does in bash or a myriad of other programs. It' smuch
simpler and doesn't subject other people to your whims of what a language
should be.

-r


Post a reply to this message

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