Structure creation [message #80539] |
Wed, 20 June 2012 03:07 |
John Coxon
Messages: 15 Registered: February 2012
|
Junior Member |
|
|
Hi there,
Having an odd issue with creating structures.
idl > med = {avg1, dawnR1:0.0, duskR1:0.0, dawnR2:0.0, duskR2:0.0}
idl > print,med.dawnR1
0
idl > help,med.dawnR1
<Expression> INT = 0
I couldn't get the problem to recur with another similary constructed
structure and restarting IDL resulted in:
idl > med = {avg1, dawnR1:0.0, duskR1:0.0, dawnR2:0.0, duskR2:0.0}
idl > print,med.dawnR1
0.00000
idl > help,med.dawnR1
<Expression> FLOAT = 0.00000
Does anyone know what's happening in this case? I tried looking at the
help pages for structures but can't discern what was going on, any help
is appreciated.
--
John Coxon
http://www.chickensinenvelopes.net/
|
|
|