comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Undocumented array indexing feature?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Undocumented array indexing feature? [message #14092 is a reply to message #14086] Mon, 25 January 1999 00:00 Go to previous messageGo to previous message
wrb1000 is currently offline  wrb1000
Messages: 9
Registered: January 1999
Junior Member
In article <Pine.SO4.4.03.9901221328390.15597-100000@virgil.gsfc.nasa.gov>,
"Robert S. Hill" <bhill@virgil.gsfc.nasa.gov> wrote:
> On Fri, 22 Jan 1999, J.D. Smith wrote:
>>> Liam Gumley wrote:
>>>> Here's a way to index an array I hadn't seen before:
>>>>
>>>> print, (a[x,*])[*,y]
>> It doesn't work for everything though... as evidenced by:
>> z=5+6*(y=8)
>> JD
>
> Ah, but try
>
> z=5+6*((y=8))
>

Hi guys,

This is veering offtopic, but I'd just like to add my two cents.
IDL, like C, has many constructs that may add placed on a line to
condense the actual length of the program. However, just like C, the
readablity and understanding factors tend to drop. I intend to use the
a=(b=(c=1)) example. I always wondered how to initialize multiple variables
on the same IDL line.

Thanks,

Bill B.



-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how do i read compressed tiff files?
Next Topic: Re: Processing Audio

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:38:32 PDT 2025

Total time taken to generate the page: 0.14329 seconds