Vely logo Empower C
install  tutorials  examples
documentation  license  about

12.1.0 released on Sep 19, 2022

exit-code



PURPOSE:


Return exit code when running from the command_line.

SYNTAX:


exit-code <exit code>


DESCRIPTION:


exit-code specifies <exit code> (which must be an integer expression) when the program runs from the command_line.

exit-code can be specified anywhere in the code, and does not mean exiting the program. To exit the program, either use exit-request or simply allow request function to reach its end.

EXAMPLES:


When the program exits, its exit code will be 12:
exit-code 12
...
exit-request


SEE ALSO:


Program execution ( exec-program   exit-code  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Icons copyright PaweĊ‚ Kuna licensed under MIT. This web page is licensed under CC-BY-SA-4.0.