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

Home » Public Forums » archive » _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
_EXTRA inheritance crashing IDL [message #30208] Wed, 10 April 2002 14:25 Go to previous message
Rob.Preece is currently offline  Rob.Preece
Messages: 8
Registered: December 1999
Junior Member
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


Compile and execute :

IDL> test1, XRANGE = [-1, 10]

On 5.4, I get a nice plot, with my new XRANGE. On 5.5, I get a *totally
irrelevant* error message:

% File expression not allowed in this context: <no name>

The error message varies, depending on when in my code I call a subroutine
using the _EXTRA keyword. Once, I hard crashed IDL on my Mac iBook. I
would very much appreciate any suggestions / tips, since this is candidate
release code, and I have to tell my users if they can or must not use IDL
5.5!

Thanks!

- Rob

==================================================
+ Robert D. Preece Rob.Preece@nsstc.nasa.gov
+ Dept. of Physics, Univ. of Alabama in Huntsville
+ Phone: (256) 961-7654 FAX: (256) 961-7215
+ SD50, National Space Science & Technology Center
+ 320 Sparkman Drive, Huntsville, AL 35805
==================================================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Finding the Non-Matching elements in two vectors
Next Topic: Vector Field Plot on Irregular Grid

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

Current Time: Wed Oct 08 19:22:36 PDT 2025

Total time taken to generate the page: 0.00434 seconds