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

Home » Public Forums » archive » Re: _EXTRA inheritance crashing IDL
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: _EXTRA inheritance crashing IDL [message #30205 is a reply to message #30198] Wed, 10 April 2002 15:41 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Rob Preece" <Rob.Preece@msfc.nasa.gov> wrote in message
news:Rob.Preece-1004021625170001@biggamma.nsstc.nasa.gov...
> OK, Rob de-lurking here.
>
> Has anyone seen a behavior where IDL 5.5 crashes on a call to a
> subroutine with an added _EXTRA keyword? I have found the same
> behavior on several different machines, Linux and Mac, which does
> not exist under 5.4. Here goes a test case:
>
> PRO test1, _REF_EXTRA = extra
>
> testStuff = ['TITLE','XTITLE','YTITLE']
>
> test2, INDGEN (10), _EXTRA = [testStuff, 'XRANGE']
>
> END
>
> PRO test2, plotStuff, _EXTRA = extra
>
> PLOT, plotStuff, plotStuff, _EXTRA = extra
>
> END

It crashes for me too (IDL 5.5, Windows 2000). IDL quits
immediately--I don't get a chance to see any error messages.

I have never had a crash before related to keyword inheritance in IDL
5.5, though I use keyword inheritance extensively. But then I never
use the idiom you do in test1, ie. passing a string array to
_EXTRA. (One of the reasons I do not do this is that it does not
support keyword abbreviations.) Can you do without it? Ie:

PRO test1, _REF_EXTRA = extra
test2, INDGEN (10), _EXTRA=extra
END

or in IDL 5.5 only:

PRO test1, _REF_EXTRA = extra
test2, INDGEN (10), _STRICT_EXTRA=extra
END
--
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding the Non-Matching elements in two vectors
Next Topic: Examine "Saved" IDL procedures now too!

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

Current Time: Tue Dec 02 16:22:55 PST 2025

Total time taken to generate the page: 2.09082 seconds