MEMEXISTS - QB64 Wiki

MEMEXISTS

From QB64 Wiki

Revision as of 23:10, 4 May 2013 by Galleon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The _MEMEXISTS function returns true (-1) if the memory block specified exists and false (0) if it doesn't.

Syntax:

ret = _MEMEXISTS (memblock)



Details:

  • The memblock should be a _MEM type (DIM memblock AS _MEM).
  • A function can check to see if memory exists before using a passed block to avoid generating generic QB64 errors.


See Also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page