Function Com_ErrChr() Foundation

Defines character for error replacement.

Syntax
Com_ErrChr( <nComPortNum>            , ;  // Type:  N
            [<nErrorChar|cErrorChar>]  ;  // Type: NC   Default: ""
          ) --> lSuccess
Return

Returns .T. if error replacement can be enabled/disabled or .F. otherwise.

Description

If <xErrorChar> is passed either as NUMERIC or CHARACTER Com_ErrChr() enables error replacement processing for the given COM port and sets the error replacement character accordingly to <xErrorChar>. If <xErrorChar> is omitted error replacement processing for the given COM port is disabled.

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.