Click or drag to resize

MemWalk Function

X#
Walk through the memory system, checking for validity.

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

Parameters

pEnum
Type: MemWalker

Return Value

Type: Logic
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#
1p := MemAlloc(100)
2MemFree(p)
3? MemWalk()
See Also