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 data type (e.g. both are real number arrays or both are integer arrays), 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 Array Variable First array variable to be compared.
[required]
array2 Array Variable Second array variable to be compared.
[required]

Return Value

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

Examples

None yet.

See also

sort(), search()

Availability

Since LinuxSampler 2.0.0.svn52.

Document Updated:  2019-09-16  |  Author:  Christian Schoenebeck