QMChecksum()

Top  Previous  Next

 

The QMChecksum() function returns a checksum value for supplied data. It is analogous to the QMBasic CHECKSUM() function.

 

 

Format

 

VBQMChecksum(ByVal Data as String) as Long

 

Cint QMhecksum(char * Data)

 

where

 

Datais the string to be processed

 

 

The QMChecksum() function calculates a checksum value for the supplied data item. Note that the algorithm used by QM may be different from that of other multivalue products and hence may yield a different result for the same data.

 

 

This function is evaluated on the client system and does not require a server connection to be open.

 

 

Examples

 

VB

X = QMChecksum("ABCDE")

C

X = QMChecksum("ABCDE");