02-28-2019, 02:37 PM
Don't know why access violation exception. Should be array type mismatch, because out cannot convert ARRAY(int) to string. If you want to access elements of ARRAY passed by pointer:
function ARRAY(int)*anarray
_i=anarray.len
out _i
;out anarray[0] ;;array type mismatch, because anarray[0] is ARRAY(int)
out anarray[0][0] ;;anarray[0][0] is int
function ARRAY(int)*anarray
_i=anarray.len
out _i
;out anarray[0] ;;array type mismatch, because anarray[0] is ARRAY(int)
out anarray[0][0] ;;anarray[0][0] is int