POV-Ray : Newsgroups : povray.general : Feature requests iden() : Re: Feature requests iden() Server Time
8 Aug 2024 16:21:56 EDT (-0400)
  Re: Feature requests iden()  
From: Rune
Date: 26 Nov 2000 11:49:45
Message: <3a213f29@news.povray.org>
The iden() feature would be perfect in situations where arrays aren't
flexible enough.

An array like this

FlexArray[X][Y]

could be made like this

iden( concat( "FlexArray", str(X,0,0), "x", str(Y,0,0) ) )

However, in arrays all the elements have to be of the same data type. Not so
with the iden solution.

Arrays are confined to the number of elements you initiate it with. Not so
with the iden solution.

With arrays you are limited to the dimensions you set. All rows and columns
must have the same number of elements. With the iden solution you can make
up a completely custom structure.

These are just some of the many possibilities with the iden() feature. Don't
hesitate, buy it today! Err, I mean, program it today! :)

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated October 9)
/ Also visit http://www.povrayusers.org


Post a reply to this message

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