world.ArrayCount
Returns the number of arrays
Prototype
long ArrayCount();
Description
This returns the number of arrays in the current world (or current plugin, if executed from a plugin).
VBscript example
Note "count of arrays = " & ArrayCount
Lua example
Note ("count of arrays = " .. ArrayCount ())
Return value
The number of arrays in the current world, or the current plugin, which may be zero.
Related topic
See also
| Function | Description |
|---|---|
| ArrayCreate | Creates an array |
| ArrayDelete | Deletes an array |
| ArrayExport | Exports values from an array into a single string |
| ArrayListAll | Gets the list of arrays |
| ArraySize | Returns the number of elements in a specified array |