[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arrays: strange feature ?!
- Subject: Re: Arrays: strange feature ?!
- From: Alex Schuster <alex(at)pet.mpin-koeln.mpg.de>
- Date: Wed, 03 May 2000 16:06:03 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Regional Computing Center, University of Cologne
- References: <39102D12.2005AFD4@Noveltis.fr>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19465
Nicolas Decoster wrote:
> In fact I stopped on this because I want to create an array of images
> using something like that: [image1, image2, image3]. What is the way to
> do this without creating a new temporary variable array? Or is there a
> way to create easily a list of anything.
You can create the array like this:
image = [ [image1], [image2], [image3] ]
Or:
image = REFORM( [ image1, image2, image3 ], N_ELEMENTS( image1 ), 3 )
Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de