SM>>I swear I've looked (and RTFM), but if there is a way to set an
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
I'm sure
>>a fine compiler like PB must have an equally simple procedure.
Sure. Just do this to end with errorlevel = 12
END 12
or if 12 is a variable A
END A
or if 12 is calculated from multiplying J*3
END J*3
etc.
P.S. use the F1 key in the IDE for HELP, then look up the word END.
Thass' it. Good luck. Glad to help. Peace.
_____oOOo_/00\_oOOo_____ david.roper@mms.raleigh.nc.us
1996 \__/ 201 WINDING BROOK Dr, GARNER NC 27529
--- FLAME v1.1
---------------
* Origin: Full Internet Access $15.00, (919) 779-6674 or MMS.NET (1:151/102)
|