'seeing' arrays in the variable watcher

Pat Trendler ptrendler at bigpond.com
Wed Jun 8 08:08:55 EDT 2005


Did you click on testArrayA? - you have to do that to get it to display.

----- Original Message ----- 
From: "Thomas McGrath III" <3mcgrath at adelphia.net>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, June 08, 2005 9:36 PM
Subject: Re: 'seeing' arrays in the variable watcher


>I tried the code below and the variable watcher shows blank for 
> testArrayA
> 
> I don't see what you are seeing.
> 
> Tom
> 
> On Jun 8, 2005, at 1:50 AM, Pat Trendler wrote:
> 
>> I don't know if I'm misunderstanding this. But, if I run the handler 
>> below, in the variable watcher I can see :
>>
>> left pane            right pane
>> testArrayA     <array>
>>
>> in the panes below
>>
>> [1]                    test1
>> [2]                    test2
>> [3]                    test3
>>
>> if the contents don't show, clicking on the name shows them.
>> You may have to move the dividers to see the different panes.
>>
>> What else should I be able to see?
>>
>> Pat
>> patrend at bigpond.com
>>
>>
>> ----- Original Message ----- From: "Stephen Barncard" 
>> <stephenREVOLUTION at barncard.com>
>> To: "How to use Revolution" <use-revolution at lists.runrev.com>
>> Sent: Wednesday, June 08, 2005 1:36 PM
>> Subject: 'seeing' arrays in the variable watcher
>>
>>
>>> the usual array test in a button...
>>>
>>> on mouseUp
>>>   global testArrayA
>>>   put "test1" into testArrayA[1]
>>>   put "test2" into testArrayA[2]
>>>   put "test3" into testArrayA[3]
>>>   repeat with n = 1 to 3
>>>     put testArrayA[n]  & return after theOut
>>>   end repeat
>>>   put theOut
>>> end mouseUp
>>>
>>> returns in the msg...
>>>
>>> test1
>>> test2
>>> test2
>>>
>>> but I don't see anything different in the variable watcher. Under 
>>> what conditions does one 'see' the arrays values in Rev 2.6??
>>>
>>>
>>> stephen barncard
>>>
>>>
>>> At 7:43 PM -0500 6/7/05, Ken Ray wrote:
>>>> Sorry, but one of the things I like about the debugger is that you 
>>>> can
>>>> select and/or change values of a variable while you're debugging. 
>>>> You (a)
>>>> can't do that with array element values, and (b) if your element 
>>>> contains
>>>> more than one line, you only see the first line in the debugger and 
>>>> there's
>>>> no way to see anything else.
>>>>
>>>> Don't get me wrong - I'm happy to see arrays in the debugger, but I 
>>>> think it
>>>> didn't go far enough, IMHO.
>>>>
>>>> Ken Ray
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> 
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


More information about the use-livecode mailing list