Groups id #

Klaus major-k klaus at major-k.de
Sat May 25 10:49:14 EDT 2024


Hi jbv,

> Am 25.05.2024 um 16:20 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi list,
> 
> I have a script that creates groups on the fly
> with the command "group". These groups contain
> various flds and imgs.
> Can I always assume that the group with the highest
> id # is the last one created ?

sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere.
Use IT right after the groupd command:
...
select this_and_that
group
put IT into the_id_of_just_created_group
...

> Thanks,
> jbv

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list