Rexx - Extended Functions hash


Advertisements

This function returns the hash value of a string.

Syntax

hash(str) 

Parameters

  • str − This is the input string.

Return Value

This function returns the hash value of a string.

Example

/* Main program */ 
options arexx_bifs 
say hash('cde')

When we run the above program we will get the following result.

Output

44
rexx_extended_functions.htm
Advertisements