Intrinsic-139 EnableRefresh |
Top Previous Next |
139: EnableRefresh(Enable);
This intrinsic enables or disables display refresh. If enabled, the display is refreshed and updated 30 times per second. It is also refreshed every time the program calls an intrinsic that does output. This means that every change to the screen is shown immediately after the program draws to the screen. For example, if you draw a series of bitmaps to the screen, each bitmap will be shown immediately after it is drawn.
If EnableRefresh is disabled, the screen is not refreshed even when changes are made to the screen. This can be useful for displaying complex animation where several different images are combined. By turning off screen refresh, the changes appear on the screen instantaneously instead of piecemeal. This creates a smooth animation effect with no flickering or glitches.
|