07-12-2012, 01:52 PM
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
Access_Function
I know i am missing many things, but can you help me get on the right track again?
Thank you
Tree_Array
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 sAccess_Function
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
