ADLER32: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE: _ADLER32}} The '''_ADLER32''' function returns the Adler-32 checksum of a string. {{PageSyntax}} : {{Parameter|chksum~&}} = _ADLER32({{Parameter|dataString$}}) {{PageParameters}} * {{Parameter|chksum~&}} is the _UNSIGNEDLONG checksum returned (zero, if the given {{Parameter|dataString$}} was empty). * {{Parameter|dataString$}} is any literal or variable STRING to build the checksum from. {{PageDescription}} {{PageExam...")
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE: _ADLER32}}
{{DISPLAYTITLE: _ADLER32}}
The '''_ADLER32''' function returns the [[Wikipedia|Adler-32]] checksum of a string.
The '''_ADLER32''' function returns the [[Wikipedia:Adler-32|Adler-32]] checksum of a string.





Revision as of 16:09, 2 February 2024

The _ADLER32 function returns the Adler-32 checksum of a string.


Syntax

chksum~& = _ADLER32(dataString$)


Parameters

  • chksum~& is the _UNSIGNEDLONG checksum returned (zero, if the given dataString$ was empty).
  • dataString$ is any literal or variable STRING to build the checksum from.


Description

Examples

Example
Calculating the area of a circle using a SINGLE variable in this case.
radius = 5
circlearea = _PI(radius ^ 2)
PRINT circlearea
 78.53982


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link