07-17-2024, 12:43 PM
o2 fan..that would be me
well i am not sure what static array is in qb64 and i don't have such a thing in o2
but o2 have static type of any variables which are good options as local variable inside functions.
REDIM as such should as the name says RE-dimensioned existing array
if REDIM arr(100) to arr(1000) just allocate new space for keeping existing data in first 100
elements then is fine, but if reset whole array then is fine to i don't know what qb64 internaly do with it.
and this is just my observation...
well i am not sure what static array is in qb64 and i don't have such a thing in o2
but o2 have static type of any variables which are good options as local variable inside functions.
REDIM as such should as the name says RE-dimensioned existing array
if REDIM arr(100) to arr(1000) just allocate new space for keeping existing data in first 100
elements then is fine, but if reset whole array then is fine to i don't know what qb64 internaly do with it.
and this is just my observation...
micro(A)developer
http://basic4us.epizy.com/forum/index.php
http://basic4us.epizy.com/forum/index.php