hashed

Hash a variable's contents.

Syntax

status = hashed ( variable ) ;

Arguments

list variable

Return Value

str status

Exceptions

%ARGUMENT : Invalid arguments. Usage: status = hashed ( variable ) ;

%IDENTIFIER : 'variable' argument is not a valid identifier, literal, or reference

Description

A hash table is a mapping between the elements of a list and their values. With a hash table, an efficient lookup mechanism is employed to retrieve the data elements. Hashing is most useful for list variables with many unique elements; it can result in better performance when accessing the variables' elements. The unlashed method is used to un-hash the variable.

Examples

To execute the example below, press or modify the example to try different variations.

Related Links

unhashed