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

Home » Public Forums » archive » 5.4
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
5.4 [message #22125] Fri, 20 October 2000 00:00 Go to next message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Folks,

I was just looking at the what's new for 5.4. Oh, my, some tasty
morsels in there, some of which I've been longing for for aeons. I
can't say enough how much adding break and continue, and switch also,
will do to clean up my programming. The end to 10 level deep nested
if's! The tyranny of excessive indentation, cast off at last!

I hope they made the parser smart though -- I'm sure there are some
variables called "break" in routines out there.

The new call_external sans glue code looks neat too, with make_dll.

Relaxed structure concatenation!?!? What? But no longer will we old
newgroup hands be able to offer our profound and deep insight into IDL's
interior workings when the next "I can't concatenate these seemingly
identical structures" question comes along. This is heresy. It's also
a much bigger deal than you think. Each struct's integrity is
preserved, and they are permitted to be concatenated if they have the
same layout.

IDL> wha=where(a eq 0,COMPLEMENT=others)

That's just frightening. Do you know how many times I've done

others=where(indgen(n_elements(a)) ne wh[ind])

or some such, just to get the data which *weren't* selected?

And how about array_equal()?... my goodness am I seeing stars. I think
we were complaining about the lack of a test that didn't return all the
elements and stopped as soon as it knows the answer several years back.

Printing with C-style formats? Say bye-bye
FORMAT='(A,T25,A,T36,A,T50,A)'

NBINS keyword to histogram? More gravy please.

All in all 5.3->5.4 is shaping up to be about the biggest upgrade since
5.0 brought us willy-nilly into the world of objects.

Thoughts, reactions, uninformed rantings?

JD

P.S. Since I've not actually *used* 5.4 yet, please test any of my wild
conjectures which catches your attention.

--

J.D. Smith | WORK: (607) 255-6263
Cornell Dept. of Astronomy | (607) 255-5842
304 Space Sciences Bldg. | FAX: (607) 255-5875
Ithaca, NY 14853 |
Re: 5.4 [message #22216 is a reply to message #22125] Tue, 24 October 2000 00:00 Go to previous message
Matt Haffner is currently offline  Matt Haffner
Messages: 34
Registered: October 2000
Member
"J.D. Smith" wrote:
>
> Thoughts, reactions, uninformed rantings?
>
> JD
>
> P.S. Since I've not actually *used* 5.4 yet, please test any of my wild
> conjectures which catches your attention.

One thing that would have been nice for them to change is their FTP
server. How about mirroring this rather popular package somewhere(s)?
It's been almost a week since the release and I still get around 1k/sec
on a T3+ connection. Yes, I guess I could order the CD... :P

mh
--
Matt Haffner /|------|\ University of Wisconsin
Dept. of Astronomy /|--------|\ Madison
haffner@astro.wisc.edu /|----------|\
WHAM project -- http://www.astro.wisc.edu/wham
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Passing of a Friend
Next Topic: CMAST$GEN_COM undefined error

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

Current Time: Wed Oct 08 16:00:07 PDT 2025

Total time taken to generate the page: 0.00547 seconds