Refer to new group?

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 5 11:11:33 EDT 2016


Is there a such thing as "first group"? If so, then "last group" has to mean the one with the highest ordinal. So perhaps we need something like "latest group" or "newest group"?

Bob S


On Aug 3, 2016, at 07:31 , Richard Gaskin <ambassador at fourthworld.com<mailto:ambassador at fourthworld.com>> wrote:

Thanks for moving that forward, Monte.

I agree that the best solution would be for "it" to contain the long id of the newly created group.

"last group" doesn't appear to be broken per se, because AFAIK it seems to faithfully return the group with the highest ordinal number, even if in some cases we might prefer it behave like a "most recently created" function instead.

So making sure "it" has the object reference not only provides a good solution, but one which is consistent with other object creation commands.




More information about the use-livecode mailing list