RemoveValue

From VisionaireWiki
Revision as of 09:39, 25 October 2008 by Timo (talk | contribs) (New page: ==removeValue== Lua Syntax: <pre>removeValue(field [, object], {flags=1, index = int})</pre> ===Arguments=== ====field==== :'''int''' - A data field which must be of a list-type (t_...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

removeValue

Lua Syntax:

removeValue(field [, object], {flags=1, 
    index = int})

Arguments

field

int - A data field which must be of a list-type (t_vint, t_links, ...) where a value will be removed.

object

"object path"|"object id"|object - Object which contains the list (specified by the field) where a value will be removed from. If no object is given the selected object is used.

Flags

i/index

Position (starting with 0) of the value item which will be removed.

Return Values

None.