The group command

Richard Gaskin ambassador at
Mon Feb 21 10:19:19 EST 2011

On 2/21/11 7:05 AM, Richard Gaskin wrote:
> I guess the only upside here is that so far it appears as though "it" is
> indeed reliable as long as you use "create", and workarounds are only
> needed in some cases where you create objects by other means.

I stand corrected, at least in part:  while looking through the RQCC for 
some other issues, I came across an old report which describes a case in 
which the "create" command doesn't use "it" to store a reference to the 
created object - when using "create folder":


So on the one hand it seems that "it" is reliable when using "create" 
for LC objects, but on the other hand one must remember that when 
creating file system objects the same does not apply.

This only further strengthens the argument to stop overloading "it" as a 
catch-all for every little thing, and instead adopt a LastError function 
for errors, freeing "it" up to be used only for data:


  Richard Gaskin
  Fourth World
  LiveCode training and consulting:
  Webzine for LiveCode developers:
  LiveCode Journal blog:

More information about the Use-livecode mailing list