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

Home » Public Forums » archive » Re: Structure of Structure
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: Structure of Structure [message #11312] Wed, 25 March 1998 00:00 Go to previous message
alpha is currently offline  alpha
Messages: 49
Registered: September 1996
Member
"Thomas A. McGlynn" <tam@silk.gsfc.nasa.gov> writes:

> Stephan Oerder wrote:
> with additional optional arguments to create an array of
> structures or to define the structure type. If you request a
> structure of more than 128 elements, then the routine automatically
> creates substructures, putting the first 64 elements in the
> top level structure, the next 64 in a structure as the 65th element
> and so forth. I believe this has run successfully on VAXes
> for versions of IDL > 3.6.

this is similar to my IDL 5.0 bug i found in idl 4.01 at 23.Dec. 96
which is known to RSI as an internal kernel-Bug of IDL!

i worte a programm that hung the maschine:


pro fail

for te=1,105 do begin
anzahl=te
tname=strarr(anzahl)
for i=0,anzahl-1 do tname(i)='TN_'+strcompress(string(i),/remove_all)

ttyp=strarr(anzahl)
; zum ausuchen / try one of it
ttyp(*)="'String-test'"
ttyp(*)="fltarr(10)"
ttyp(*)="dcomplexarr(102)"

ziel=byte(0)
estring='ziel={'
for i=0,anzahl-1 do begin
if i gt 0 then estring=estring+','
estring=estring+tname(i)+':'+ttyp(i)
endfor
estring=estring+'}'

if execute(estring) then begin
print,' Execute OK: ',te
endif else begin
goto,abbruch
endelse
endfor

abbruch:
print, ' Execute failed at ',te
end

Even worse is the switshing of the data-type every time!


Panther


> It's available in the IDL Astronomy library at:

> http://idlastro.gsfc.nasa.gov/ftp/pro/structure/mrd_struct.p ro

> Good luck,

> Tom McGlynn
> tam@silk.gsfc.nasa.gov
--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: passing pointers to CALL_EXTERNAL
Next Topic: Compatibility of MAP functions between IDL & wave

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

Current Time: Fri Oct 10 14:15:21 PDT 2025

Total time taken to generate the page: 1.27871 seconds