-=> Quoting Steve McCrystal to All <=-
SM> I swear I've looked (and RTFM), but if there is a way to set an
SM> errorlevel/exit code from a PB program, I sure can't find it.
SM> Would anyone care to share a technique? It's fairly easy in QB/PDS, so
Check out the "END" command ;-) You can pass back a DOS erro
code with the syntax "END returnexpression" where
"returnexpression" must evaluate to a valid DOS error code (0
-255) ;-)
-- Regards --
Sid Lee (FIDO - 1:134/122, Internet - sidlee@agt.net)
--- Blue Wave/Max v2.12
---------------
* Origin: RASCAL BBS [Calgary, Alberta - (403)686-2550] (1:134/122)
|