10-26-2006, 07:05 PM
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.
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.
