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. When hardware (DTR, RTS, etc.) or software (XON/XOFF) flowcontrols are used, the functions SPORT_WRITE_DATA andSPORT_WRITE_LINE can write less bytes than required. When this occurs,the functions return the code ERROR_IO_INCOMPLETE, and the returnvalue of parameter "count" contains the number of bytes that were reallywritten.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “SPORT_WRITE_LINE”, “SPORT_READ_DATA”, "Using the Serial I/O PortRoutines" in your user’s guide, "Communications and "Communications Functions" in theMicrosoft* Platform SDKExampleUSE IFPORTINTEGER(4) iresultiresult = SPORT_WRITE_DATA( 2, 'ATZ'//CHAR(13), 0 )ENDSPORT_WRITE_LINESerial Port I/O Function: Outputs data, followed by a record terminator, to the specified port.This function is only available on Windows* systems.Module: USE IFPORTSyntaxresult = SPORT_WRITE_LINE (port, data [, count])port(Input) Integer. The port number.data(Input) Character*(*). The data to be output.count(Optional; input) Integer. The count of bytes to write. If the value is zero, this number is computedby scanning the data backwards looking for a non-blank character.2-472

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

Saved successfully!

Ooh no, something went wrong!