SLEEP (The GNU Fortran Compiler) (original) (raw)

Next: SPACING — Smallest distance between two numbers of a given type, Previous: SIZEOF — Size in bytes of an expression, Up: Intrinsic Procedures [Contents][Index]


8.257 SLEEP — Sleep for the specified number of seconds

Synopsis:

CALL SLEEP(SECONDS)

Description:

Calling this subroutine causes the process to pause for SECONDS seconds.

Class:

Subroutine

Arguments:

SECONDS The type shall be of default INTEGER.

Example:

program test_sleep call sleep(5) end

Standard:

GNU extension