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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to