freeImage()
Purpose
Dispose of an image that is no longer required
Description
Free up the momory allocated to an image so that it can be used again
Syntax
freeImage( handle )
Arguments
handle Variable which stores the desired image file
Example
dice = loadImage( "Colin Brown/Dice", false )
freeImage( dice )
drawImage( dice, 0, 0 ) // This will cause an error
update()
sleep( 3 )
Associated Commands