Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

array_equal()

Compares the two arrays passed to this function and returns true if the arrays are identical, otherwise it returns false (0). The arrays are considered to be identical if they have the same size (same amount of elements) and all elements of the two arrays are exactly the same.

Function Prototype

array_equal(array1, array2)

Arguments

Argument Name Data Type Description
array1 Integer Array Variable First integer array variable to be compared.
[required]
array2 Integer Array Variable Second integer array variable to be compared.
[required]

Return Value

Description Data Type
Boolean result of the array comparison. Integer Number

Examples

None yet.

See also

sort(), search()

Availability

Since LinuxSampler 2.0.0.svn52.

Document Updated:  2017-05-28  |  Author:  Christian Schoenebeck