Specifications
Chapter 16. Extended Functions
415
16.5 Calculating a CRC (CRC.FN3)
16.5.1 Function Number List of CRC.FN3
The CRC.FN3 may calculate a CRC depending upon the function number specified, as listed
below.
16.5.2 Detailed Function Specifications
Syntax: CALL "CRC.FN3" .fcCcitt STRING1$, [ STRING2$,
[...,]] CRC$
Description:
This function calculates a CRC of character strings specified by
STRING1$, STRING2$, ...STRING8$ and returns the calculation
result in
CRC$.
Up to eight character strings may be specified by assigning them to
non-array string variables.
Parameter: STRING1$, STRING2$, ...STRING8$
Non-array string variables that are operands of CRC gen-
eration
Returned value: CRC$ Non-array string variable that stores the calculation result
(2 characters, fixed length. In the 1st character position is
the upper byte of the calculation result.)
Function number Used to:
.fcCcitt
2 Calculate a CRC-CCITT.
.fcCrc16
3 Calculate a CRC-16.
.fcCcitt Calculate a CRC-CCITT