Skip over navigation

Roxen Interactive RXML Help

<elements/>

Returns the number of elements in a variable. If the variable isn't of a type which contains several elements (includes strings), 1 is returned. That makes it consistent with variable indexing, e.g. var.foo.1 takes the first element in var.foo if it's an array, and if it isn't then it's the same as var.foo.

See also the <strlen> tag for use with strings.

Attributes

variable
variable=string

The name of the variable.

scope
scope=string

The name of the scope, unless given in the variable attribute.