%SHTDN (Shut Down)

%SHTDN

%SHTDN returns '1' if the system operator has requested shutdown; otherwise, it returns '0'. See SHTDN (Shut Down) for more information.

For more information, see Information Operations or Built-in Functions.

Figure 246. %SHTDN Example
 *..1....+....2....+....3....+....4....+....5....+....6....+....7...+....
 /FREE
   // If the operator has requested shutdown, quit the
   // program.

   IF %SHTDN;
      QuitProgram();
   ENDIF;
 /END-FREE


[ Top of Page | Previous Page | Next Page | Contents | Index ]