Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
enumeration of items
#32
I need to setup the function so i can access the Arrays from other functions, but i am confusing myself with the logic. What i have so far is

Tree_Array
Code:
Copy      Help
int w=win("Calculator" "SciCalc") ;;QM Options dialog
Acc a.Find(w "WINDOW" "Calculator" "class=SciCalc" 0x1005)
ARRAY(Acc) b.create(0x10000)
ARRAY(str) names.create(0x10000)
int i
ARRAY(str) s
a.GetChildObjects(b -1)
for i 0 b.len
,names[i]=b[i].Role
,names[i+1]=b[i].Name
,b[i].Role(names[i+2])
,
out s

Access_Function
Code:
Copy      Help
function# ARRAY(Acc)&b ARRAY(str)&names int&i ARRAY(str)&s

s.F"{names[i]} : {names[i+2]} : {names[i+1]}"

I know i am missing many things, but can you help me get on the right track again?

Thank you


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)