'seeing' arrays in the variable watcher

Thomas McGrath III 3mcgrath at adelphia.net
Wed Jun 8 07:36:02 EDT 2005


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



More information about the use-livecode mailing list