Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARRAY Help
#2
Code:
Copy      Help
;Instead of

str+ acc1 acc2 acc3 acc4 acc5

;use

ARRAY(str)+ g_aacc.create(5)

;Then in the function

int i
for i 0 g_aacc.len
,str& s=g_aacc[i]
,;the code, using s instead of acc1 etc
,

In the dialog function, instead of acc1, acc2 etc use g_aacc[0], g_aacc[1], etc.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)