TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: STEVE MCCRYSTAL (Rcvd)
from: SID LEE
date: 1996-06-21 13:32:00
subject: errorlevel in pb3.x

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

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.