Futurebasic/Language/Reference/kill picture

Syntax
KILL PICTURE pictureHandle&amp;

Description
This statement calls the Toolbox procedure KillPicture, which releases the memory occupied by the picture which is specified by. This should be a handle that your program created using the,   statements (or the Toolbox routines OpenPicture and ClosePicture), or the   statement. You should not use  to release a picture handle that was created by other means (for example, a picture resource handle).

Warning: Do not use  to kill a picture that is currently being displayed in a picture field. You must close the picture field first (using the statement) before calling.

Warning: You should make sure that  does not equal zero before calling. Disposing of a "nil handle" can cause problems on some older systems.