BCC Function

Generates a Binary Check Character (BCC).

Syntax

BCC(char-string)

Syntax Elements

char-string is a string containing the data being sent or received, expressed as a variable to which the data string has been assigned or can be a literal string enclosed in quotes.

Comment

The BCC function generates a Binary Check Character by performing an exclusive OR (XOR) of all the data bytes in the data string.