Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm converting autohotkey to QM and
#6
A[] adds one element, ie resizes the array

A[5] is sixth element of 0-based array. The array must have 6 or more elements, else error.
ARRAY(int) A.create(5)
out a[0]
out a[1]
out a[2]
out a[3]
out a[4]
out a[5] ;;error, the array does not have a[5]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)