Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array convert
#1
Code:
Copy      Help
ARRAY(int) a.create(2 3)
a[0 0]=1
a[0 1]=2
a[0 2]=3
a[1 0]=4
a[1 1]=5
a[1 2]=6

int c r
ARRAY(VARIANT) v.create(a.len(1) a.len)
for c 0 a.len(1)
,for r 0 a.len
,,v[c r]=a[c r]





Is there another way more efficient?
#2
No.


Forum Jump:


Users browsing this thread: 1 Guest(s)