![]()
SYNOPSIS
int widthof(mapping map)
DESCRIPTION
Returns the number of values per key of mapping <map>.
If <map> is 0, the result is 0.
EXAMPLES
mapping m = ([ "foo": 1;2 ]);
widthof(m) --> returns 2
HISTORY
Introduced in LDMud 3.2.6.
SEE ALSO
sizeof(E), mkmapping(E), m_reallocate(E), m_values(E),
unmkmapping(E)
|
| Die Seite ist auch in Deutsch vorhanden. |
| Start » Magierhandbuch » Docu » Efun » Widthof | Letzte Generierung: 25.04.2021, 01:58 | ||
|
|