NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int ArrayLen ( variant  data[])
inline

Get array length.

Return the length of the specified array. Any type of array of up to four dimensions can be passed into this function.

Parameters
dataThe array whose length you need to read.
Returns
The length of the specified array.
Warning
You cannot use NXC expressions with this function
Examples:
ex_ArrayLen.nxc, ex_atan2.nxc, ex_atan2d.nxc, ex_RS485Send.nxc, ex_syslistfiles.nxc, ex_tan.nxc, and ex_tand.nxc.