struct.group.remove

Syntax

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

Remove the group s from the structural element in any slot. The removal of s will only occur in slot, if provided.

A group index or slot index may be used for the arguments s or slot, respectively. Indices operate more efficiently than strings*.

Returns:

b - true when the group is removed from one or more slots of the structural element, false if the group is not found

Arguments:

p - pointer to a structural element

s - the group name or index*

slot - the slot name or index* (restricts removal of s to that slot)

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.