it and explicitVar?

Richard Gaskin ambassador at fourthworld.com
Sat Nov 24 16:42:35 EST 2012


Jerry Jensen wrote:
 > On Nov 24, 2012, at 1:04 PM, "Dr. Hawkins" wrote:
 >>
 >> Something like
 >>
 >>  copy group myout from cd 1 of stack rawstuff to cd target
 >>
 >> will copy the group.
 >>
 >> I can then say things like,
 >>
 >>  set the upperleft of it to 1,1
 >>
 >> Howerver, the ide chokes on that it, which is the proper use.
 >
 > I can't find anywhere in the docs that claim the copy command will
 > affect it. Seems logical, but I suppose one could argue which should
 > be it, if anything. The group or the cd? Apparently neither.

This is a known inconsistency.  Most other commands that create objects 
put the long ID of the newly-created object into "it", but not copy or 
clone.

I think there's a bug report about that somewhere in the DB...

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list