Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
suggestion: change to _MEMFREE
#5
(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 Tongue

"It's always something..."

In other news..

+ 1 for

"DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:"

Big Grin Big Grin Big Grin

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.
Reply


Messages In This Thread
suggestion: change to _MEMFREE - by OldMoses - 12-11-2022, 12:43 PM
RE: suggestion: change to _MEMFREE - by mnrvovrfc - 12-11-2022, 01:03 PM
RE: suggestion: change to _MEMFREE - by OldMoses - 12-11-2022, 01:32 PM
RE: suggestion: change to _MEMFREE - by SMcNeill - 12-11-2022, 01:57 PM
RE: suggestion: change to _MEMFREE - by Pete - 12-11-2022, 05:52 PM
RE: suggestion: change to _MEMFREE - by OldMoses - 12-11-2022, 07:54 PM



Users browsing this thread: 1 Guest(s)