how to terminate a program
james
james at google.com
Fri Oct 24 19:26:40 PDT 2008
dsimcha Wrote:
> == Quote from james (james at google.com)'s article
> > how to terminate the program in the middle of execution, is there any command
> such as halt,exit? since i dont use exception for error handling.
>
> Use C's. It's in std.c.stdlib. It's called exit, takes an int and returns the
> exit code provided by the caller to the OS upon termination.
thank you very much. it works.
More information about the Digitalmars-d
mailing list