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

...

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

Example

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

 

RPG Equivalent

SHTDN, %SHTDN()