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>port(Input) Integer. The port number of connection. The routine will open COMn, where n is the portnumber specified.options(Optional; input) Integer. Defines the connection options. These options define how thennn_LINE routines will work and also effect the data that is passed to the user. If more than oneoption is specified, the operator .OR. should be used between each option. Options are as follows:OptionDL_TOSS_CRDL_TOSS_LFDL_OUT_CRDL_OUT_LFDL_TERM_CRDL_TERM_LFDL_TERM_CRLFDescriptionRemoves carriage return (CR) characters on input.Removes linefeed (LF) characters on input.Causes SPORT_WRITE_LINE to add a CR to each record written.Causes SPORT_WRITE_LINE to add a LF to each record written.Causes SPORT_READ_LINE to terminate READ when a CR is encountered.Causes SPORT_READ_LINE to terminate READ when a LF is encountered.Causes SPORT_READ_LINE to terminate READ when CR+LF isencountered.If options is not specified, the following occurs by default:(DL_OUT_CR .OR. DL_TERM_CR .OR. DL_TOSS_CR .OR. DL_TOSS_LF)This specifies to remove carriage returns and linefeeds on input, to follow output lines with acarriage return, and to return input lines when a carriage return is encountered.BufferSize(Optional; input) Integer. Size of the internal buffer for data reception. If BufferSize is notspecified, the size of the buffer is 16384 bytes (the default).The size of the buffer must be 4096 bytes or larger. If you try to specify a size smaller than 4096bytes, your specification will be ignored and the buffer size will be set to 4096 bytes.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”, “SPORT_RELEASE”, "Using the Serial I/O Port Routines" inyour user’s guide, "Communications and "Communications Functions" in the Microsoft* PlatformSDK2-452

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

Saved successfully!

Ooh no, something went wrong!