struct.group

Syntax

s := struct.group(p<,slot>)
struct.group(p<,slot>) := s

Get/set the group name assigned to structural element p in slot slot. Use of the group logic is described in Groups.

Group pointers or slot indicies may be used for efficiency instead of string names. See the group.find and group.find.slot functions.

Returns:

s - the name of the group in slot slot. Will return None if no group has been assigned in that slot.

Accepts:

s - the name of the group in slot slot

Arguments:

p - a pointer to a structural element

slot - the optional name of the slot used. If not given, the slot name Default will be used.