POV-Ray : Newsgroups : povray.unofficial.patches : #let keyword(was: Previews of Ice Planet...) Server Time
2 Sep 2024 06:13:59 EDT (-0400)
  #let keyword(was: Previews of Ice Planet...) (Message 21 to 30 of 35)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 5 Messages >>>
From: Ken
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 00:18:14
Message: <39B1FEFE.BF7675DE@pacbell.net>
"Tony[B]" wrote:
> 
> There are programming languages like this out there? <shudder>

The example he gave is not very different than what we had in
POV-Ray v1.0.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Fabien Mosen
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 02:28:42
Message: <39B3400C.F5C3D553@skynet.be>
Chris Huff wrote:
> 
> It also looks like it might be easy to allow semicolons after every
> assignment, something that I wish POV already did.

Some MS-DOS versions of the POV-Ray 3.1 betas used to do that.  Dunno
why it has been removed.

Fabien.


Post a reply to this message

From: Warp
Subject: Re: #let keywor
Date: 4 Sep 2000 06:26:36
Message: <39b378dc$1@news.povray.org>
Peter J. Holzer <hjp### [at] sikituwsracat> wrote:
:     # a = a + 5

  A semi-colon at the end would be nicer.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Philippe Debar
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 06:41:06
Message: <39b37c42@news.povray.org>
I like the keyword (and the concept). It is short and clear in its meaning
(imho).


Povingly,


Philippe


Post a reply to this message

From: Nicolas Calimet
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 10:33:56
Message: <39B3B53A.38EEA979@free.fr>
What about #eval if not used elsewhere ?
	(okay, one letter longer)


*** Nicolas Calimet
*** http://pov4grasp.free.fr


Post a reply to this message

From: Chris Huff
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 10:54:18
Message: <chrishuff-490C39.09555804092000@news.povray.org>
In article <39B3B53A.38EEA979@free.fr>, Nicolas Calimet 
<pov### [at] freefr> wrote:

> 	What about #eval if not used elsewhere ?

Doesn't seem very clear...it seems to be a shortcut for "evaluate", and 
you aren't evaluating a variable, you are setting it to a specific value.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: ingo
Subject: Re: #let keywor
Date: 4 Sep 2000 12:24:10
Message: <8FA5B9FE6seed7@204.213.191.228>
Warp wrote:

>Peter J. Holzer <hjp### [at] sikituwsracat> wrote:
>:     # a = a + 5
>
>  A semi-colon at the end would be nicer.

Why?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Francois Dispot
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 13:34:52
Message: <39B3DD3C.AFE2C761@club-internet.fr>
Ken wrote:
> 
> "Tony[B]" wrote:
> >
> > There are programming languages like this out there? <shudder>
> 
> The example he gave is not very different than what we had in
> POV-Ray v1.0.

I think some of us still keep in mind the happy times of DBW-render 1
(1989 for me, Amiga 500... 68000 @ 7.14MHz)

-- 

      __  __ __  __  _
|  | /  \  /  / |_  /  |/
\/\/ \__/ /_ /_ |__ \_ |\


Post a reply to this message

From: Fabien Mosen
Subject: Re: #let keyword(was: Previews of Ice Planet...)
Date: 4 Sep 2000 13:42:42
Message: <39B3DE06.F710083A@skynet.be>
Nicolas Calimet wrote:
> 
>         What about #eval if not used elsewhere ?
>         (okay, one letter longer)

Used in isosurfaces.  (evaluates the max_gradient)

Fabien.


Post a reply to this message

From: Chris Huff
Subject: Re: #let keywor
Date: 4 Sep 2000 16:14:24
Message: <chrishuff-4ED998.15160504092000@news.povray.org>
In article <8FA5B9FE6seed7@204.213.191.228>, ing### [at] homenl (ingo) 
wrote:

> >  A semi-colon at the end would be nicer.
> 
> Why?

It might allow simplifying the parser to allow faster parsing, and 
provides a visually obvious cue to the end of the statement(which can be 
several lines and several {} blocks down, like in the case of layered 
textures).

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 5 Messages >>>

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