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