<<

Contents

Search

>>

 

REPAINT

 

 

Instruction

 

 

Syntax:

REPAINT[(<Handle>)]

 

Meaning:

Repaints the screen.

 

The commands PRINT, CLS, DRAWLINE, CIRCLE, FILLRECT, FILLRECT_GRADIENT, POLYGON, CHANGE_IMAGE and LOAD_PICTURE have the effect that the screen is repainted just after the command has been executed in order to display the changes. This takes much computing time if e.g. many PRINT instructions are executed one after the other, because it each time an instruction is executed a part of the screen has to be repainted. With NOREPAINT the repainting of the screen can be suppressed. NOREPAINT takes effect until REPAINT is executed.

 

If the parameter <Handle> is missing the entire screen is repainted.

 

REPAINT displays all changes after the last execution of NOREPAINT at once.

 

Parameter:

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Sample:

NOREPAINT

FOR DAY% = 1 to 31

    CURSOR(3,DAY% * 3) PRINT STRN$(DAY%);

ENDLOOP

REPAINT

 

See also:

NOREPAINT