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.

Descriptions of the Library Routines 2present(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.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_LINE”, "Using theSerial I/O Port Routines" in your user’s guide, "Communications and "CommunicationsFunctions" in the Microsoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultINTEGER presentINTEGER countiresult = SPORT_PEEK_DATA( 2, present, count )ENDSPORT_PEEK_LINESerial Port I/O Function: Returns information about the availability of input records. Thisfunction is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_PEEK_LINE (port [, present] [, count])port(Input) Integer. The port number.2-459

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

Saved successfully!

Ooh no, something went wrong!