A simple way to get the program to behave differently
when there is a capture on:

EXECUTE "PROGRAM -C" CAPTURING OUTPUT

Now you can use: GET(ARG.) (if you are on UNIVERSE) or
parse the output of the SENTENCE() function or if in
UNIDATA parse @SENTENCE.  If there is a -C in the
command line, then you have executed the program with
the 'Capturing switch'.  

All you have to do then is make the program behave
differently when the -C switch is supplied.


>What we have is a case where an open file error may
occur and we need to have the user go back into a m
enu, but we do not want them to see the error.




        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to