PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Checks a character string before and after transmission between WINDEV applications and WEBDEVsites.
This function is used to check whether a character string was properly transmitted between WINDEV applications and WEBDEV sites during transmissions with risk of information loss (modem for example). To do so, calculate the "Crc16" value before transmitting the string and check its value when receiving the string: the two values must be identical.
Example
nCrcRead is int // Control character read
LineRead is string // String read
...
IF nCrcRead <> sComputeCrc16(LineRead) THEN
Info("Error while retrieving the string")
END
Syntax
<Result> = sComputeCrc16(<String>)
<Result>: Integer
Control value of the string.
<String>: Character string (with quotes)
Any character string.
Remarks
Business / UI classification : Neutral code
Component : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment