Futurebasic/Language/Reference/def disposeh

DEF DISPOSEH Statement edit


Statement edit

✔ Appearance ✔ Standard ✔ Console

Syntax edit


Description edit

If handle& represents a valid handle to a relocatable memory block, this statement disposes of the block, and sets the value of handle& to zero (handle& must be a long-integer variable or a HANDLE variable).

If handle& does not represent a valid handle, the statement sets the value of handle& to zero, but otherwise does nothing.

Note edit

Never use DEF DISPOSEH on a resource.

See Also edit

DEF CLEARHANDLE; KILL FIELD; DISPOSEHANDLE Toolbox routine: http://developer.apple.com/documentation/mac/Memory/Memory-73.html; Inside Macintosh: http://developer.apple.com/documentation/macos8/mac8.html; Memory: http://developer.apple.com/documentation/mac/Memory/Memory-2.html