Resident Image Name Option
Obsolete
This option is obsolete. This command is valid only in character-mode DataFlex or BasicReport objects.
Purpose
To hold an image in memory, improving performance by eliminating the need for disk access when the image is to be output or displayed.
Syntax
/pagename
resident
The keyword resident follows the image name given at the beginning of the image. It need not be delimited by spaces, nor given last.
What It Does
Resident holds an image in memory. This improves processing speed because it makes it unnecessary to access the disk to output or display the image.
Use of resident is recommended primarily for the body image of report programs and for subtotal# and subheader# images where these may appear many times in the output. It is normally not effective on data-entry images since the occasional disk read to display the image is not perceptible to the user.
Examples
/screen resident
In this example, Imagescreen is held resident in memory.
/body resident
In this example, Imagebody of a report program is held resident in memory.