06-25-2012, 02:34 PM
Thank you for your last post Gintaras. It helped me out a lot, but I am working on the final point. I am trying to appoint every object as its own element. I've been reading ARRAY help, but I am not able to get the code to work. I also tried to edit based off of
ARRAY of custom type as parameter
but still doesn't work or unable to follow. I removed all my edits, because I think the edits made the code worse. My current code is
i need it so that "names[i]" does not repeat ever. Help would be grateful.
Thank you
ARRAY of custom type as parameter
but still doesn't work or unable to follow. I removed all my edits, because I think the edits made the code worse. My current code is
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
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 F"{names[i]} : {names[i+2]} : {names[i+1]}"i need it so that "names[i]" does not repeat ever. Help would be grateful.
Thank you
