I understand what you mean, but in blitz you dont need to do that because all arrays must be global anyway. so you you can access them directly from any part of your program. Having said that, you _could_ encapsulate the array inside a type and then pass the type to the function.
type myArray
field values[10]
end type
although you can only have a single dimension in the array within a type and as with all arrays in blitz the array size must be constant. no REDIM allowed :(
ReDim would be more useful IMHO allowing us to re-size arrays at run time.
type myArray
field values[10]
end type
although you can only have a single dimension in the array within a type and as with all arrays in blitz the array size must be constant. no REDIM allowed :(
ReDim would be more useful IMHO allowing us to re-size arrays at run time.