J. Landman Gay  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

Oddly enough, it works with the "create" command, but not with the "group" command:

Logged here, along with "create folder" which also doesn't return the path to the newly-created folder in "it":


Commands that create objects should put the resulting object's long ID in "it"
<http://quality.runrev.com/show_bug.cgi?id=3700>

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

_______________________________________________
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