semitwist.apps.miniapps.seterrorlevel.main

Members

Functions

main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Authors

Nick Sabalausky

Sets the errorlevel to any value. Could be useful in Windows batch scripts.

Calling 'seterrorlevel' by itself will set the errorlevel to 0. Calling 'seterrorlevel' with an invalid value will result in an error message and set the errorlevel to 1.

This has been tested to work with DMD 2.058 through 2.062