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 #14086] Mon, 25 January 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
In article <36AC8341.EC8@rosa.mpin-koeln.mpg.de>,
Alex Schuster <alex@rosa.mpin-koeln.mpg.de> wrote:
> wrb1000@my-dejanews.com wrote:
>
>> 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.
>
> Now that's an easy one:
>
> IDL> a=1 & b=2 & c=3 & d=4 &
>
> Voila, one line :-)
>
> Alex


Oh, I knew that one, Alex. Anyone know which method offers faster execution -

a = 0 & b = 0 * OR * a = (b = 0)

this is important when applying the same principle to large arrays. At least
to those of us with slower PCs :(

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: Wed Oct 08 15:34:47 PDT 2025

Total time taken to generate the page: 0.00507 seconds