Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# version of sys(2007)
Message
From
17/07/2014 13:40:53
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
17/07/2014 11:01:04
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01603907
Message ID:
01603938
Views:
61
>i'm doing some work in C# and need to have a working version of a method that correctly translates the sys(2007,"foo") to the same value in c# that it calculates using the built-in vfp method. does anyone have any ideas or code for sys(2007) in c#.
>
>here's the docs for the sys(2007) method in vfp
>
>http://msdn.microsoft.com/en-us/library/csfkkhcy(v=vs.80).aspx

SYS(2007) generates a CRC16 digest by default, optionally a CRC32 digest. There seem to be plenty of hits if you Google [crc32 c#], for example.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform