SLEEP — Sleep for the specified number of seconds

SLEEP()

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

Parameters

SECONDS – The type shall be of default INTEGER.

Standard:

GNU extension

Class:

Subroutine

Syntax:

CALL SLEEP(SECONDS)

Example:

program test_sleep
  call sleep(5)
end