world.ArrayCount

MUSHclient script function (Method) — introduced in version 3.46

Returns the number of arrays

Prototype

long ArrayCount();

Data type meanings

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

Arrays

See also

FunctionDescription
ArrayCreateCreates an array
ArrayDeleteDeletes an array
ArrayExportExports values from an array into a single string
ArrayListAllGets the list of arrays
ArraySizeReturns the number of elements in a specified array