Basically, you'll have to do your second question in order to accomplish the first using Route, Switch, and Inquire modules.

David

I have a script executing mostly fine. It displays data as a time series of
frames, user selectable as glyphs or isosurfaces. The data is filtered through
include to allow user selectable ranges. This works until for a given frame,
there is NO data from include to colormap (because all the data is outside the
selected range)

In this case I get an error msg from colormap becuase there is no data. My
fistr question therefore:

Is there a way of getting DX to ignore such errors during execution, rather
than stop throw up the msg & visual editor windows (I'm running from the GUI)?

The second question, providing more flexibility:

Can I interrogate the data output from include to allow flow control (to not
carry on through that portion of the script if the data count is zero? (& if
so, how do I go about it?)

(Basically, how do I implement the following structure in DX:

 COUNT=`get_count`

 if [ $COUNT -eq 0 ] ; then
   break
 fi



Thanks,
  Brent

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com


--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to