it and explicitVar?

Richard Gaskin ambassador at fourthworld.com
Sat Nov 24 11:22:58 EST 2012


Peter M. Brigham wrote:

 > On Nov 23, 2012, at 10:01 PM, Dr. Hawkins wrote:
 >> On Fri, Nov 23, 2012 at 3:01 PM, Dr. Hawkins wrote:
 >>> the IDE doesn't recognize the copy as creating it.
 >>
 >> Further, it seems that if LiveCode is not already open, and the first
 >> thing in preOpenStack is
 >>
 >>   set the explicitVar to true
 >>
 >> really bad things happen, and it doesn't run what it should before
 >> opening . . .
 >
 > I think the property is "the explicitVariables" with a synonym of
 > "the explicitVars". There is no global property "the explicitVar"
 > and I suspect trying to set it results in a silent exit with no alert.

Recipe confirmed here, and I suspect you're right, that there are likely 
parts of the IDE scripts which haven't yet been completely rewritten to 
conform to the strict requirements of explicitVars.

In fact, if you launch the IDE first and then set the explicitVars to 
true, you won't see the context menu when you right-click on an object.

I've just submitted a bug report for this, with the suggestion that 
either the IDE be brought into conformance with explicitVars, or the 
Dictionary entry for that property include a reminder that the IDE 
supports a better implementation in Preferences so there's no practical 
reason to set the explicitVars in our scripts:

<http://quality.runrev.com/show_bug.cgi?id=10564>

--
  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