| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== GETEXITCODE (query program exit code) ====== | [[get read a record or entry .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getfont get font information .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **GETEXITCODE(** **)** {{blk2blue.jpg|blk2blue.jpg}} | **GETEXITCODE** | Gets program's exit code. | **GETEXITCODE** is used to get a program's exit code (error level). This is useful in displaying some meaningingful message or action without the necessity of closing the program immediately. **See Also:** [[setexitcode set program exit code .htm|SETEXITCODE]]