Function Com_Send() Foundation

Writes data to the specified COM port

Syntax
Com_Send( <nComPortNum>       , ;  // Type:  N
          <cString|nASCIICode>  ;  // Type: CN
        ) --> nBytesNotSent
Return

Return values of Com_Send()
Value Description
-1 An error occured
0 All of the data could be send
<n> A numeric value that specifies the number of bytes that could not be send

Description

Tries to send the string <cString> or the byte specified by the numeric parameter <nASCIICode> to the given COM port.

For timeout considerations see function Com_SendMode().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.