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

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
SM> sure a fine compiler like PB must have an equally simple procedure.
 
Well I'm sure the PB method is even easier than the QB/PDS method.  Its
just END #, where # is the errorlevel you want to set on exit.  For
example,  END 5   will set errorlevel 5 on exit.  I don't remember it
being so easy in QB?  and never used PDS...     Eric
--- QM v1.00
---------------
* Origin: Creekside Manor (805) 484-8016 CdCom Support BBS (1:206/2512.0)

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™.