Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Determines if the system or job is shutting down.

Return Value

true if the system or job is in the midst of shutting down.

false is the system or job is not in the midst of shutting down.

Example

Code Block
languagejavascript
// continue processing until the user exits or the job / system is ended
while (!exit && !pjs.isShuttingDown()) {
  display.screen.execute();
  // user's response can be processed here
}


RPG Equivalent

SHTDN, %SHTDN()