RE: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Dave Crozier
... or even: http://fox.wikis.com/wc.dll?Wiki~CRC16 Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Wes Wilson Sent: 11 December 2013 13:48 To: profox@leafe.com Subject: Need CRC-16 Visual FoxPro Code VFP9 coding for a standard ANSI CRC-16 hash

RE: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Paul Newton
Or Sys(2007) which accepts a character string as a parameter ... -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Alan Bourke Sent: 11 December 2013 13:52 To: profoxt...@leafe.com Subject: Re: Need CRC-16 Visual FoxPro Code Check out 'SYS

Re: Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Alan Bourke
Check out 'SYS(2017) - Record Checksum Value' in the VFP9 help. You can make it do CRC-16 instead of the default CRC-32 by passing the appropriate parameter. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/

Need CRC-16 Visual FoxPro Code

2013-12-11 Thread Wes Wilson
VFP9 coding for a standard ANSI CRC-16 hash calculation.  CRC = Cyclic Redundancy Check.   The algorithm has to: 1)      accept a plain text string as input a.      in this case, the plain text has a minimum length of 15 characters 2)      compute ANSI CRC-16 Hash of the input using the standard