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.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>present(Optional; output) Integer. 1 if data is present, 0 if no data has been read.count(Optional; output) Integer. The count of characters that will be returned bySPORT_READ_DATA.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows error value.This routine will only return when a line terminator has been seen - as defined by the modespecified in the SPORT_CONNECT( ) call.NOTE. CR and LF characters may not be returned depending on the modespecified in the SPORT_CONNECT( ) call.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SPORT_CONNECT”, “SPORT_READ_DATA”, “SPORT_PEEK_DATA”, "Usingthe Serial I/O Port Routines" in your user’s guide, "Communications and "CommunicationsFunctions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGER presentINTEGER countiresult = SPORT_PEEK_LINE( 2, present, count )ENDSPORT_PURGESerial Port I/O Function: Executes the Windows* API communications function PurgeCommon the specified port. This function is only available on Windows systems.Module: USE IFPORTSyntaxresult = SPORT_PURGE (port, function)2-460

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

Saved successfully!

Ooh no, something went wrong!