Can I resize an arry within a function?

BlitzMax Forums/BlitzMax Beginners Area/Can I resize an arry within a function?

read about array Slices .. theres a section in the languages ref page, heres the jist of it...
Local a[200]	'initialize a[] to 200 elements
a=a[50..150]	'extract middle 100 elements of a[]
a=a[..50]     	'extract first 50 elements of a[]
a=a[25..]	'extract elements starting from index 25 of a[]
a=a[..]		'copy all elements of a[]
a=a[..200]	'resize a[] to 200 elements



I guess if you want to resize within a functon, just pass the array to the function...