Types have pointer properties when it comes to passing them, but because of the way they are auto-containered by Blitz, theres no way to make a type/object pointer that points to and already allocated location.
Would it be good though lol..We could have:
type my_type
field v%
end type
bank%=CreateBank(4);
instance.my_type = Object.my_type(CreateBank);
But that'll never happen.
Your could be better off just using a global dynamic array and redimming it, but then for byte access youd have to shift and & the stuff. Though youd have to copy the data to resize the array, thats what'll happen when resizing a bank anyway.
Would it be good though lol..We could have:
type my_type
field v%
end type
bank%=CreateBank(4);
instance.my_type = Object.my_type(CreateBank);
But that'll never happen.
Your could be better off just using a global dynamic array and redimming it, but then for byte access youd have to shift and & the stuff. Though youd have to copy the data to resize the array, thats what'll happen when resizing a bank anyway.