Subj : Pascal Help To : All From : stizzed Date : Sat Jun 27 2020 16:52:44 All, Im trying to terminate a pascal program with a specific errorlevel I can check for in a 32-bit DOS batch. Ive tried Halt() but the batch doesnt pick it up. Thoughts? Here are my batch lines: program.exe if errorlevel 99 echo ERRORLEVEL 99 if errorlevel 98 echo ERRORLEVEL 98 ....etc to 0 When I run this with a coded Halt(333) it prints every ERRORLEVEL xx line in the batch... Thanks in advance! ..\\ichael Batts a.k.a. stizzed (because, why not?) SysOp, The ROCK BBS III --- Mystic BBS v1.12 A46 2020/06/11 (Windows/32) * Origin: The ROCK III - therockbbs.net - TELNET:10023 (21:4/156) .