The "create group" command does return the id of the new group in "it" but the group command doesn't.
I'm reminded of a thread I kicked off a few months ago concerning the fact that "last group" doesn't always return the group created with a group command. The dictionary recommends using "last group" after a group command to get the group id but that never worked reliably for me. I believe that thread also resulted in someone entering a feature request for standardising the use of "it" Pete Molly's Revenge <http://www.mollysrevenge.com> On Thu, Jun 23, 2011 at 9:29 AM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 6/23/11 11:11 AM, Bob Sneidar wrote: > >> What would be nice is if things like creating a group returned useful >> information in the result, such as the ID of any object created. I >> should post that as a feature enhancement. >> > > You mean, besides what is returned in the "it" variable? > > create group "testGroup" > put it > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > 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<http://lists.runrev.com/mailman/listinfo/use-livecode> > > _______________________________________________ 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