Show Globals

Devin Asay devin_asay at byu.edu
Wed Dec 10 15:51:28 EST 2008


On Dec 10, 2008, at 12:54 PM, Fred moyer wrote:

>>
>> Francis Nugent Dixon wrote:
>>> However, I don't know how to show globals assigned
>>> ONLY to the current stack. Does anybody know ?
>>
> Richard Gaskin wrote:
>
>> I'm not sure what you mean.  Globals are global in scope, available  
>> to
>> any script with a matching global declaration.
>
>
> Yes, but why would anyone want to see them when debugging a script
> that doesn't refer to them? For example, if I have a button whose
> script is:
>
> on mouseup
>    global  gBeginTime
>    put the time into gBeginTime
>    put the date into tDate
> end mouseup
>
> When debugging this, I want to see the following variable list:
>
> gBeginTime   11:24 PM
> tDate  11/18/08
>
> Instead I see a gigantic list of globals that have been called by
> other stacks (I am creating a very complex set of stacks that run my
> business.) Simply scrolling down from gBeginTime and tDate will take
> forever and it's really confusing because you click on the scrollbar
> and nothing happens for over 5 seconds, and you're not sure you
> clicked on the scrollbar, so you click again, and then when it
> finally scrolls, it's gone too far. It is a similar situation when I
> press the scroll arrows or drag the slider. With all of these globals
> listed, there are these long delays.

Fred,

Didn't you say you're on Rev 3.0? Did you uncheck the "Show Globals"  
option in the script editor preferences? (I'm coming in to the  
discussion late, so I apologize if someone already addressed this.)

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the Use-livecode mailing list