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

Home » Public Forums » archive » Re: histogram crashes (example code)
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: histogram crashes (example code) [message #22527] Thu, 16 November 2000 00:00 Go to previous message
Stein Vidar Hagfors H[1] is currently offline  Stein Vidar Hagfors H[1]
Messages: 56
Registered: February 2000
Member
"R.G.S." <rgs1967@hotmail.com> writes:

> Here is a main level code that does crash IDL 5.3.1 on WinNT4 SP5
> So if anyone cares to see if it runs on other platforms, please
> let me know how it works out.

Crashes here, too:

IDL> print,!version
{ sparc sunos unix 5.3 Nov 11 1999}

(Or rather, it crashes when you try to do anything *after* executing
that histogram call).

By the way, talking to Bill Thompson I just learned that it's now
possible to say:

IDL> a=fltarr(1,1,1,1,1,1,1,2)
IDL> help,a[0,0,0,0,0,0,0,0]

which used to give some kind of syntax error in previous IDL versions
(4.x, at least) whereas it would work with 7 subscripts, but not 8.
However, look at this:

IDL> help,[0,0]
<Expression> INT = Array[2]
IDL> help,[[0],[0]]
<Expression> INT = Array[1, 2]
IDL> help,[[[0]],[[0]]]
<Expression> INT = Array[1, 1, 2]
IDL> help,[[[[0]]],[[[0]]]]

help,[[[[0]]],[[[0]]]]
^
% Only eight levels of variable concatenation are allowed.

Obviously, they forgot to fix all aspects of the parser...

------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Email: shaugan@esa.nascom.nasa.gov
Mail Code 682.3, Bld. 26, Room G-1, Tel.: 1-301-286-9028/240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Active X with Excel VBA
Next Topic: Re: IDL Shapiro-Wilks test ?

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

Current Time: Wed Oct 08 18:43:49 PDT 2025

Total time taken to generate the page: 0.00438 seconds