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

Home » Public Forums » archive » array of structure changed from 5.4 to 5.5?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
array of structure changed from 5.4 to 5.5? [message #29561] Wed, 27 February 2002 00:54 Go to previous message
starobs99 is currently offline  starobs99
Messages: 1
Registered: February 2002
Junior Member
Hello,

The behaviour of arrays of structure changed from IDL5.4 to IDL5.5? I
run the same edulcorated code on the two version (see below), and have
different results. And the worst is that I really don't see how to
perform the last operation of the code with the new behaviour... Any
idea?
Thanks a lot.
-----------------------IDL5.4------------------------------- ------
print,!version
;{ alpha OSF unix Compaq Tru64 5.5 Aug 28 2001 64 64}
s1={str1,t1:0.}
s2=replicate({num:0.,s1:{str1}},10)
s3=replicate(s1,10)
help,s2.s1,s3
;<Expression> STRUCT = -> STR1 Array[1, 10]
;S3 STRUCT = -> STR1 Array[10]
s2.s1=s3
;% Conflicting data structures: structure tag,S3.
-----------------------IDl5.5------------------------------- ------
print,!version
;{ x86 linux unix 5.4 Sep 25 2000 32 32}
s1={str1,t1:0.}
s2=replicate({num:0.,s1:{str1}},10)
s3=replicate(s1,10)
help,s2.s1,s3
;<Expression> STRUCT = -> STR1 Array[10]
;S3 STRUCT = -> STR1 Array[10]
s2.s1=s3
; No Problems!!!
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Previous Topic: IDL2MATLAB
Next Topic: Has USERSYM been defined?

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

Current Time: Wed Oct 08 11:27:00 PDT 2025

Total time taken to generate the page: 0.00429 seconds