Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification using _MEM
#2
The OFFSET is the location of the MEM block. The SIZE is how big the MEM block is at that OFFSET. Think of OFFSET doing the same thing as _OFFSET(yourMemBlock). You could take your current position and subtract it from the size to see how much you have left. If the offset is 62349, for instance, and the size is 32, you can know that 62381 should be the end of the MEM block. I'm probably not explaining this coherently, but I hope it helps a bit. I don't think size is supposed to be marked as something that changes. That might be a typo.
The noticing will continue
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Loading from file into _MEM? and LEN a TYPE... Unseen Machine 9 976 08-03-2025, 02:55 AM
Last Post: SMcNeill
  error on function returning _mem Herve 5 698 07-05-2025, 08:06 PM
Last Post: hsiangch_ong
  Question about _MEM blocks and arrays FCS_coder 19 2,708 06-15-2025, 10:09 AM
Last Post: TempodiBasic
  _mem Jack 13 2,006 01-09-2025, 01:50 AM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)