Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debugging Arrays
#1
Is there any option with the debug command to show the elements of an array ?

Do you have a more elegant way to check arrays?

I am using a member function:
str.GetElements
Member function str.GetElements
Code:
Copy      Help
function ARRAY(str)'arr

; str s.GetElements(arr)
; out s

for int'i 0 arr.len
,str s.from(s i ":" arr[i] "[]")

this=s


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)