array of structure changed from 5.4 to 5.5? [message #29561] |
Wed, 27 February 2002 00:54  |
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!!!
------------------------------------------------------------ -------
|
|
|