HPlogo MPE/iX Intrinsics Reference Manual > Chapter 9 Command Definitions (MAIL-PUTJCW)

PAUSE

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

NM and CM callable.

Suspends the calling process for a specified number of seconds.

Syntax



         R32
  PAUSE (interval);

Parameters


interval

32-bit real by reference (required)

Passes the amount of time, in seconds, that the process pauses. The value of interval must be positive. The maximum time allowed is approximately 2,147,484 seconds (almost 25 days).

Operation Notes


BREAK or RESUME takes place without affecting the time countdown process.

CNTL-Y causes the timer to countdown to restart at the beginning. It is all right if the traps are enabled because the handler returns to PAUSE (unless the handler has called the QUIT intrinsic.

Condition Codes


CCE (2)Request granted.
CCG (0)Request denied. Insufficient system table (timer request list) space.
CCL (1)Request denied. A negative value was specified for interval.

Related Information


Intrinsics
Manuals Process Management Programmer's Guide




OPENLOG


PRINT