Hi Steve,
In a message to All 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 QB/PDS,
SM> so I'm sure a fine compiler like PB must have an equally simple
SM> procedure.
SM> -[Steve]-
Hello, Steve.
Somebody should have replied by now, but just in case they didn't. You set
the
exit/errorcode like this in PowerBASIC:
END errorcode
errorcode can be generated from an error handler within the program.
That's how I do it.
Bye bye!
Stan
* SeM. 2.21 UNREG * Well! I'm impressed.
--- PCBoard (R) v15.3/M 10 Beta
---------------
* Origin: (1:373/10)
|