interface.group

Syntax

s := interface.group(it<,slot>)
interface.group(it<,slot>) := s

Get/set the group name assigned to interface it in slot slot. The slot named 'Default' is used by default if slot is not provided.

On set, a group index may be used instead of a string for s. On get or set, a slot index may be used instead of a string for slot. Indices operate more efficiently than strings.*

Returns:

s - group name or index*; returns None if no group has been assigned in the slot

Accepts:

s - group name or index*

Arguments:

it - interface pointer

slot - slot name or index*

Note

*Use the group.find and group.find.slot intrinsics to obtain group and slot indices, respectively, and for further information.

Use of the group logic is described in Groups.