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>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_PEEK_DATA”, “SPORT_READ_LINE”,“SPORT_WRITE_DATA”, "Using the Serial I/O Port Routines" in your user’s guide,"Communications and "Communications Functions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGERcountCHARACTER*1024 rbuffiresult = SPORT_READ_DATA( 2, rbuff, count )ENDSPORT_READ_LINESerial Port I/O Function: Reads a record from the specified port. This routine stalls until at leastone record has been read. This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_READ_LINE (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-462

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

Saved successfully!

Ooh no, something went wrong!