Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceNOTE. 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
Descriptions of the Library Routines 2This 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_PEEK_LINE”, “SPORT_READ_DATA”,“SPORT_WRITE_LINE”, "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_LINE( 2, rbuff, count )ENDSPORT_RELEASESerial Port I/O Function: Releases a serial port that was previously connected to (by usingSPORT_CONNECT). This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_RELEASE (port)port(Input) Integer. The port number.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: “SPORT_CONNECT”, "Using the Serial I/O Port Routines" in your user’s guide,"Communications and "Communications Functions" in the Microsoft* Platform SDK2-463
- Page 464 and 465: 2 Intel Fortran Libraries Reference
- Page 466 and 467: 2 Intel Fortran Libraries Reference
- Page 468 and 469: 2 Intel Fortran Libraries Reference
- Page 470 and 471: 2 Intel Fortran Libraries Reference
- Page 472 and 473: 2 Intel Fortran Libraries Reference
- Page 474 and 475: 2 Intel Fortran Libraries Reference
- Page 476 and 477: 2 Intel Fortran Libraries Reference
- Page 478 and 479: 2 Intel Fortran Libraries Reference
- Page 480 and 481: 2 Intel Fortran Libraries Reference
- Page 482 and 483: 2 Intel Fortran Libraries Reference
- Page 484 and 485: 2 Intel Fortran Libraries Reference
- Page 486 and 487: 2 Intel Fortran Libraries Reference
- Page 488 and 489: 2 Intel Fortran Libraries Reference
- Page 490 and 491: 2 Intel Fortran Libraries Reference
- Page 492 and 493: 2 Intel Fortran Libraries Reference
- Page 494 and 495: 2 Intel Fortran Libraries Reference
- Page 496 and 497: 2 Intel Fortran Libraries Reference
- Page 498 and 499: 2 Intel Fortran Libraries Reference
- Page 500 and 501: 2 Intel Fortran Libraries Reference
- Page 502 and 503: 2 Intel Fortran Libraries Reference
- Page 504 and 505: 2 Intel Fortran Libraries Reference
- Page 506 and 507: 2 Intel Fortran Libraries Reference
- Page 508 and 509: 2 Intel Fortran Libraries Reference
- Page 510 and 511: 2 Intel Fortran Libraries Reference
- Page 512 and 513: 2 Intel Fortran Libraries Reference
- Page 516 and 517: 2 Intel Fortran Libraries Reference
- Page 518 and 519: 2 Intel Fortran Libraries Reference
- Page 520 and 521: 2 Intel Fortran Libraries Reference
- Page 522 and 523: 2 Intel Fortran Libraries Reference
- Page 524 and 525: 2 Intel Fortran Libraries Reference
- Page 526 and 527: 2 Intel Fortran Libraries Reference
- Page 528 and 529: 2 Intel Fortran Libraries Reference
- Page 530 and 531: 2 Intel Fortran Libraries Reference
- Page 532 and 533: 2 Intel Fortran Libraries Reference
- Page 534 and 535: 2 Intel Fortran Libraries Reference
- Page 536 and 537: 2 Intel Fortran Libraries Reference
- Page 538 and 539: 2 Intel Fortran Libraries Reference
- Page 540 and 541: 2 Intel Fortran Libraries Reference
- Page 542 and 543: 2 Intel Fortran Libraries Reference
- Page 544 and 545: 2 Intel Fortran Libraries Reference
- Page 546 and 547: Intel Fortran Libraries ReferenceAU
- Page 548 and 549: Intel Fortran Libraries ReferenceCo
- Page 550 and 551: Intel Fortran Libraries ReferenceDD
- Page 552 and 553: Intel Fortran Libraries Referencefu
- Page 554 and 555: Intel Fortran Libraries ReferenceFO
- Page 556 and 557: Intel Fortran Libraries ReferenceGE
- Page 558 and 559: Intel Fortran Libraries Referenceex
- Page 560 and 561: Intel Fortran Libraries ReferenceLT
- Page 562 and 563: Intel Fortran Libraries ReferenceNL
Descriptions of the Library Routines 2This 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_PEEK_LINE”, “SPORT_READ_DATA”,“SPORT_WRITE_LINE”, "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_LINE( 2, rbuff, count )ENDSPORT_RELEASESerial Port I/O Function: Releases a serial port that was previously connected to (by usingSPORT_CONNECT). This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_RELEASE (port)port(Input) Integer. The port number.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: “SPORT_CONNECT”, "Using the Serial I/O Port Routines" in your user’s guide,"Communications and "Communications Functions" in the Microsoft* Platform SDK2-463