Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification using _MEM
#5
(01-23-2024, 07:21 PM)SMcNeill Wrote: With arrays.   Point to an element in an array and the SIZE changes depending upon that element.  Seems odd to me, but that's just the way it's always been.  /shrug   See my demo above.  Wink
I suppose I was picturing the `_OFFSET` and `SIZE` in the existing `_MEM` being changed (since the comment says "changes"). Your code example doesn't change the original `_MEM` instance, it's creating new ones for each `_Mem()` call that you will then have to then `_MemFree`.
Reply


Messages In This Thread
Clarification using _MEM - by TerryRitchie - 01-23-2024, 06:52 PM
RE: Clarification using _MEM - by SpriggsySpriggs - 01-23-2024, 07:03 PM
RE: Clarification using _MEM - by DSMan195276 - 01-23-2024, 07:12 PM
RE: Clarification using _MEM - by SMcNeill - 01-23-2024, 07:21 PM
RE: Clarification using _MEM - by DSMan195276 - 01-23-2024, 07:41 PM
RE: Clarification using _MEM - by TerryRitchie - 01-23-2024, 07:45 PM



Users browsing this thread: 1 Guest(s)