12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>END DOENDSLEEPQQSORTQQPortability Subroutine: Delays execution of the program for a specified duration.Module: USE IFPORTSyntaxCALL SLEEPQQ (duration)duration(Input) INTEGER(4). Number of milliseconds the program is to sleep (delay program execution).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBExampleUSE IFPORTINTEGER(4) delay, freq, durationdelay = 2000freq = 4000duration = 1000CALL SLEEPQQ(delay)CALL BEEPQQ(freq, duration)ENDPortability Subroutine: Sorts a one-dimensional array. The array elements cannot be derivedtypes or record structures.Module: USE IFPORTSyntaxCALL SORTQQ (adrarray, count, size)adrarray(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. Address ofthe array (returned by LOC).2-446

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!