(12-11-2022, 12:43 PM)OldMoses Wrote: While working with _MEM blocks and freeing them, it occurred to me that perhaps it would be a useful alteration to have _MEMFREE work similar to the new DIM syntax, where one can:
DIM AS INTEGER a, b, c, etc.
Where instead of the required syntax following:
_MEMFREE m
_MEMFREE m2
_MEMFREE m3
One could do:
_MEMFREE m, m2, m3
Would there be any interest in such a change, or would that be too difficult of an implementation?
But then I want...
_CLEAR a, b, c, e
Instead of...
a = 0
b = 0
c = 0
e = 0
Complicated by CLEAR being backwards compatible with comma deliminators for memory, which is ignored in QB64; (e.g. CLEAR , , 2000). So _CLEAR
"It's always something..."
In other news..
+ 1 for
"DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:"
Pete
PS Don't be surprised if I -2 you later... when I can't that jingle out of my head!
Shoot first and shoot people who ask questions, later.