Mike:

The code I cut out from your email below won't work as you wanted
it to.  The Error var (vchk_result) is reevaluated after every single
command.  Since you are checking the error variable (IF vchk_result 
<> 0) right after the 'CLS' command, the error variable is set on 
whether it can do a CLS, which it always will be able to!

If you mean for the vchk_result to be a result of the autochk, then you'd
have to redo it something like this so that you trap and don't lose the
error varaible from the AUTOCHK command:

SET ERROR VAR vchk_result
SET VAR vChkErr INT

OUTPUT d:\autoload.$$$
AUTOCHK maindata FULL
SET VAR vChkErr = .vchk_result
OUTPUT SCREEN
CLS
IF vChkErr <> 0 THEN


Karen


>> ORIGINAL CODE:

>SET ERROR VAR vchk_result
--
OUTPUT d:\autoload.$$$
--
AUTOCHK maindata FULL
--
OUTPUT SCREEN
--
CLS
--
IF vchk_result <> 0 THEN
<

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to