POV-Ray : Newsgroups : povray.general : Suggestion: array functions : Re: Suggestion: array functions Server Time
8 Aug 2024 12:21:50 EDT (-0400)
  Re: Suggestion: array functions  
From: Chris Huff
Date: 22 Feb 2001 11:58:06
Message: <chrishuff-9385F4.11571122022001@news.povray.org>
In article <rggp8t019366bfd5tqif0rami2l5pk9ihm@4ax.com>, Peter Popov 
<pet### [at] vipbg> wrote:

> I would also like to see an equivalent of the 'with'

What do you mean? I don't remember using "with" in Pascal, but my only 
experience with Pascal was a class a couple years ago.


> but that would imply an OO concept and I don't think it's time for 
> that yet (I hear booing already)

It's too bad people have knee-jerk reactions to this kind of thing...POV 
manipulates objects, so some basic OO concepts would fit right in. It 
already has a kind of inheritance...(copies of objects inherit from the 
original variable, and can override some attributes, like texture and 
position. I think this is called "prototype-based inheritance", and it 
seems to be a perfect fit for POV.)

-- 
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

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