DoCRC
DoCRC(sMessage AS String, sCrc AS String BYREF[, bCrcAscii As Boolean])
Computes CRC of <sMessage>. The computed CRC is returned in <sCrc>, according with the format specified by the optional parameter <bCrcAscii>:
- If bCrcAscii = true (default value), the CRC is returned in Ascii (4 hexa characters).
- If bCrcAscii = false, the CRC is returned in binary (2 bytes).