'seeing' arrays in the variable watcher

Stephen Barncard stephenREVOLUTION at barncard.com
Tue Jun 7 23:36:24 EDT 2005


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


More information about the use-livecode mailing list