Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

num_elements()

Returns the size of the requested array variable, that is the amount of total values that array variable contains.

Function Prototype

num_elements(array-variable)

Arguments

Argument Name Data Type Description
array-variable Integer Array Array variable for which the size shall be obtained from.
[required]

Return Value

Description Data Type
Size of the passed array variable. Integer Number

Examples

Document Updated:  2017-04-21  |  Author:  Christian Schoenebeck