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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Feature Request: Limit Scope of a "Find" and "Change" hanness 5 740 06-21-2025, 11:21 PM
Last Post: SMcNeill
  _SndRaw and _MemFree Petr 1 580 01-11-2025, 09:04 PM
Last Post: a740g
  Odd behavior with Search -> Change window TerryRitchie 8 1,578 05-09-2024, 05:00 PM
Last Post: bplus
  Suggestion: Preallocated file open doppler 14 2,800 02-25-2024, 02:35 AM
Last Post: SMcNeill
  suggestion: create a custom puppy linux distro that includes QB64PE out of the box madscijr 13 2,851 02-07-2024, 02:25 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)