Getting a list of groups on a card

Geoff Canyon Rev gcanyon+rev at
Sun Feb 27 10:49:33 CST 2011

This should work:

*function* allGroupNames X

   *-- returns all groups for id X*

   *repeat* with i = 1 to the number of groups of X

      *put* the short name of of *group* i of X & cr after R

   *end* *repeat*

   *return* R

*end* allGroupNames

More information about the use-livecode mailing list