The current mechanism for returning the result of a hierarchical menu with name duplicates (i.e. starting with "!" to get a quasi-numerical return) is turning out to be rather troublesome for a use scenario I just attempted...
Here's what I tried to do:
There is a menu with two submenus, "Active" and "Inactive". Given a set of things, any given thing can be either active or inactive. Selecting an active thing would set it to be part of the inactive list, and vice versa. This presents a bit of a bookkeeping problem for the numerical return, since a given number could be any number of things.
At a given time you could have:
Active>
thing1
thing2
Inactive>
thing3
thing4
or you could have
Active>
thing2
thing3
Inactive>
thing1
thing4
I think a better system without this flaw would be to return the entire result path (e.g. "Active|thing2" or "Inactive|thing1")
Here's what I tried to do:
There is a menu with two submenus, "Active" and "Inactive". Given a set of things, any given thing can be either active or inactive. Selecting an active thing would set it to be part of the inactive list, and vice versa. This presents a bit of a bookkeeping problem for the numerical return, since a given number could be any number of things.
At a given time you could have:
Active>
thing1
thing2
Inactive>
thing3
thing4
or you could have
Active>
thing2
thing3
Inactive>
thing1
thing4
I think a better system without this flaw would be to return the entire result path (e.g. "Active|thing2" or "Inactive|thing1")