Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array Questions
#2
ARRAY(int) a.create(2)
out a.len ;;2
out a[0]
out a[1]
out a[a.len] ;;error, a[2] does not exist
out a[a.ubound] ;;ok, a[1]

Use len-1 or ubound.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)