![]() ![]() |
|
CHECKSUMThe CHECKSUM function returns a simple numeric checksum of a character string.
COMMAND SYNTAXCHECKSUM(expression)
SYNTAX ELEMENTSThe expression may evaluate to any result but will usually be a string. The function then scans every character in the string and returns a numeric addition of the characters within the string.
NOTESThe function calculates the checksum by summing the product of the ASCII value of each character and its position within the string.
EXAMPLES
|