12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of the Library Routines 2port(Input) Integer. The port number.function(Input) INTEGER(4). The function for PurgeComm (see the Windows documentation).Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: "Using the Serial I/O Port Routines" in your user’s guide, "Communications and"Communications Functions" in the Microsoft* Platform SDKExampleUSE IFWINTYUSE IFPORTINTEGER(4) iresultiresult = SPORT_PURGE( 2, (PURGE_TXABORT .or. PURGE_RXABORT) )ENDSPORT_READ_DATASerial Port I/O Function: Reads available data from the specified port. This routine stalls untilat least one character has been read. This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_READ_DATA (port, buffer [, count])port(Input) Integer. The port number.buffer(Output) Character*(*). The data that was read.count(Optional; output) Integer. The count of bytes read.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.2-461

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

Saved successfully!

Ooh no, something went wrong!