LRC() Function - Longitudinal Redundancy Code

Syntax

LRC(string{,ERR=lineref})

Description

The LRC() function returns a 1-byte string that is the result of exclusive ORing of all the bytes of its argument string. See the XOR() function for a description of exclusive OR. A null argument returns a $00$.

Examples

>LET A$=LRC($123456$)
>PRINT HTA(A$)
70

See Also

Functions - Alphabetical Listing