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

Quoting Steve Mccrystal to All:
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.
You can set an errorlevel by using the END statement, e.g.:
IF FUBAR% THEN
  END 255
ELSE
  END
END IF
Hint: look on pages 124 and 125 of the reference manual under the topic "END 
statement".
 * WCE 2.1G1/2081 * 
--- InterEcho 1.18
---------------
* Origin: Toast House * (314) 994-0312 * (1:100/560)

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