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

Home » Public Forums » archive » Simple PRO in a loop question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Simple PRO in a loop question [message #67673] Fri, 14 August 2009 07:37
a is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Trouble with a loop
Next Topic: Re: Simple PRO in a loop question

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

Current Time: Wed Oct 08 17:30:08 PDT 2025

Total time taken to generate the page: 0.00483 seconds