Futurebasic/Language/Reference/def disposeh
Appearance
DEF DISPOSEH Statement
[edit | edit source]DEF DISPOSEH
[edit | edit source]Statement
[edit | edit source]✔ Appearance ✔ Standard ✔ Console
Syntax
[edit | edit source]DEF DISPOSEH(handle&)
Description
[edit | edit source]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 | edit source]Never use DEF DISPOSEH
on a resource.
See Also
[edit | edit source]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