Simple PRO in a loop question [message #67673] |
Fri, 14 August 2009 07:37 |
a
Messages: 4 Registered: July 1997
|
Junior Member |
|
|
Let me preface by saying I'm still getting used to IDL syntax/best
coding.
I have a simple main level pro that calls a lower pro in a for loop.
If this lower pro doesn't find data, it will return before completing
it's usual task. So I naively thought I could check the "outputs" of
the lower pro to see if it completed or not. My problem is the 2nd
time in the for loop the "outputs" of the lower pro are defined with
the 1st iteration outputs, so I can't test the outputs for being
undefined. I'm thinking in MATLAB, and need help thinking in IDL. I
could change the pro to a function, but I really don't like outputting
everything in a single structure.
Michael
|
|
|