Page 1 of 1

Group and groups

Posted: Fri Aug 12, 2016 6:38 pm
by trevix
I may be missing something, so any help is accepted.

There is a group named tList.
Inside tList there are 20 groups named "A,B,C,D,etc.."

Code: Select all

put the number of groups of group "tList" --correctly return "20"
since the groups are correctly layered:

Code: Select all

put the short name of group 3 of group "tList" --correctly return "C"
BUT

Code: Select all

Put the number of group "C" of group "tList" --it return the group number inside the card, "44", not 3
Is there a way to reverse the function, in order to obtain a group number inside a group?
In an ordered list of groups this would speedup the selection, knowing the name of the group.
Thanks

Re: Group and groups

Posted: Fri Aug 12, 2016 7:04 pm
by Klaus
Hi Trevix,

maybe something like:
...
## put (the number of group "C" of group "tList" - the number of grp "tList")
## If there is no other grp named C etc, then you can:
put (the number of group "C" - the number of grp "tList")
...


Best

Klaus

Re: Group and groups

Posted: Fri Aug 12, 2016 10:30 pm
by trevix
That's great. Thanks
The overwhelming number of functions of LC sometimes makes me miss that often you need to turn around problems...
Trevix