BBS: Inland Empire Archive
Date: 03-14-92 (16:19) Number: 176
From: DICK DENNISON Refer#: NONE
To: BOB PERKINS Recvd: NO
Subj: Re: Libs for the Freq'ed Conf: (2) Quik_Bas
BP> :-) No, you didn't miss anything in the manual. Quite some time ag
BP> someone posted some code here that uses an internal QB function to exi
BP> an errorlevel. It even works from within the environment (Beware!).
BP> must start qb with /l to load qb.qlb or link with qb.lib for it to wor
BP> have used this several times with no problems, but there are no guaran
BP> DECLARE SUB ExitWithErrLvl ALIAS "_exit" (BYVAL ErrorLevel%)
BP> test% = 5
BP> ExitWithErrLvl test%
That was Brent Ashly that found that. Microsoft has officially stated
that it does not support this call, however I use it all the time and
have had no problems with it.
The safest way is to check QBNews 102.
--- VP [DOS] V4.09e
* Origin: New York Quick Share Point * HST (914)374-3903 (1:272/34)