Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Calculate check sum of a string using CRC32 algorithm

 

Syntax

 

n = CRC32(string_expression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

String_Expression

String

No

String to calculate CRC32 check sum

 

Remarks

 

A cyclic redundancy check (CRC) is an error-detecting code used to detect data corruption. When sending data, short check sum is generated based on data content and sent along with data. When receiving data, check sum is generated again and compared with sent check sum. If the two are equal, then there is no data corruption.

 

Additional info:

https://en.wikipedia.org/wiki/Cyclic_redundancy_check

https://github.com/gcc-mirror/gcc/blob/master/libiberty/crc32.c

 

Restrictions

 

See also

 

Examples

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software