Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

SLEEPQQ

Portability Subroutine: Delays execution of the program for a specified duration.

Module

USE IFPORT

CALL SLEEPQQ (duration)

duration

(Input) INTEGER(4). Number of milliseconds the program is to sleep (delay program execution).

Example


 USE IFPORT
 INTEGER(4) delay, freq, duration
 delay    = 2000
 freq     = 4000
 duration = 1000
 CALL SLEEPQQ(delay)
 CALL BEEPQQ(freq, duration)
 END