[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DisposeScreen WinTTT
Purpose To free heap space that was allocated to store a screen
image.
Declaration DisposeScreen(Page: byte);
Page is the number of the screen that was saved with save
screen.
Uses Crt, FastTTT, DOS, WinTTT.
Remarks If you have restored a screen using RestoreScreen and you no
longer need the saved screen image, call this procedure to
trash the saved image and free the heap space for re-use by
the program
The Toolkit uses the Turbo Pascal procedures Getmem and
Freemem. You should not use the conflicting Mark and Release
heap management procedures anywhere in your program.
Example
USES CRT, FASTTTT, DOS, WINTTT;
BEGIN
SAVESCREEN(1);
....
. . . {SOME OTHER PROCEDURES THAT CHANGE THE SCREEN}
....
RESTORESCREEN(1);
DISPOSESCREEN(1);
END.
See Also:
SaveScreen
RestoreScreen
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson