group.find.slot
Syntax
- ind = group.find.slot(s)
Get the slot index associated with the slot name s. Note that a slot with the name s will be created if one does not exist already (and the index to it is returned). Also be aware that there is a limit of 128 distinct slots in a given model.
In other functions, optionally, a slot index may be used instead of a string as an argument (e.g., the
zone.group
orzone.isgroup
functions). An index does not require string comparison and lookup and is therefore faster to execute.Returns: i - the slot index associated with s Arguments: s - the slot name
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |