> My run command has:
> set error var e1
> out autochk.dta with screen
> autochk full
> out screen
> if e1 > 40 then
>    .....my attention code
> endif
>
> I did not get any attention!  But there were errors:
> Columns index file reference is invalid  (1239).
> is 1239 > 40 ?  How do you trap out an error like this?

Bernie:

Should be:

autochk full
SET VAR vAutochkResult = (.e1)
out screen
IF vAutochkResult > 40 THEN
   .....my attention code
endif

The value in e1 is being reset by the OUT SCREEN command, which will always
execute successfully.
--
Larry


================================================
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