Click or drag to resize

MemWalk Function

Walk through the memory system, checking for validity.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION MemWalk(
	pEnum AS MemWalker
) AS LOGIC
View Source

Parameters

pEnum
Type: MemWalker

Return Value

Type: Boolean
TRUE if successful; otherwise, FALSE.
Remarks
Remarks
Only memory blocks that were allocated while MemTrace was set to TRUE will be included.
Examples
This example uses MemWalk() after allocating and deallocating memory with other memory manager functions:
X#
p := MemAlloc(100)
MemFree(p)
? MemWalk()
See Also