_ADLER32

From QB64 Phoenix Edition Wiki
Revision as of 16:08, 2 February 2024 by RhoSigma (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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