lib/system: Fix programResult documentation (#7307)
This commit is contained in:
parent
10cd89eba9
commit
566cec74b6
1 changed files with 3 additions and 3 deletions
|
|
@ -1461,9 +1461,9 @@ when defined(nodejs):
|
|||
programResult = 0
|
||||
else:
|
||||
var programResult* {.exportc: "nim_program_result".}: int
|
||||
## modify this variable to specify the exit code of the program
|
||||
## under normal circumstances. When the program is terminated
|
||||
## prematurely using ``quit``, this value is ignored.
|
||||
## modify this variable to specify the exit code of the program
|
||||
## under normal circumstances. When the program is terminated
|
||||
## prematurely using ``quit``, this value is ignored.
|
||||
|
||||
when defined(nimdoc):
|
||||
proc quit*(errorcode: int = QuitSuccess) {.magic: "Exit", noreturn.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue