Hi Eric,
In a message to Steve Mccrystal you wrote:
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
SM>> QB/PDS, so sure a fine compiler like PB must have an equally
SM>> simple
SM>> procedure.
ES> Well I'm sure the PB method is even easier than the QB/PDS method.
ES> Its just END #, where # is the errorlevel you want to set on exit.
ES> For example, END 5 will set errorlevel 5 on exit. I don't
ES> remember it being so easy in QB? and never used PDS... Eric
Hi Eric.
I never used QB, but I seem to remember that it works the same in PDS as in
PowerBASIC.
Bye bye!
Stan
* SeM. 2.21 UNREG * My reality check just bounced.
--- PCBoard (R) v15.3/M 10 Beta
---------------
* Origin: (1:373/10)
|