TIP: Click on subject to list as thread! ANSI
echo: delphi
to: RYAN POTTS
from: LARRY COOKE
date: 1998-02-14 21:54:00
subject: Exit with an errorlevel?

Hi Ryan!
On Sat Feb 14 Ryan Potts wrote the following to Larry Cooke:
LC>  Is there a way to have a program written in Delphi exit
RP> Try Application.terminate(errorlevel); or Halt(errorlevel).
RP> Substitute 'errorlevel' with the level you want.
I was tipped off with the halt function earlier today, but I was reluctant to 
use this method.  However, it would appear that 
Application.terminate(errorlevel) is not valid.  I get too many actual 
parameters error when trying this.  Guess it's halt or nothing...
Thanks Ryan!
Larry
---
---------------
* Origin: Comm-Post * Tucson, AZ * (1:300/53)

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