Microsoft KB Archive/101289

From BetaArchive Wiki

SYS(2007) Algorithm for Checksum

ID: Q101289

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b
  • Microsoft FoxPro for Macintosh, version 2.5b

The SYS(2007) function returns the checksum value of the character expression <expC>. The correct syntax is SYS(2007,<expC>). A checksum can be used to test the validity of data or to compare two character expressions.

NOTE: Checksum is a "byte-oriented CRC-16" algorithm. The exact logic was last published in the February 1986 edition of "Dr. Dobbs Journal." Additional query words: FoxMac FoxDos FoxWin check sum

Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: August 23, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.