<<

Contents

Search

>>

 

NOREPAINT

 

 

Instruction

 

 

Syntax:

NOREPAINT

 

Meaning:

Suppresses repainting of the screen.

 

The commands PRINT, CLS, DRAWLINE, CIRCLE, FILLRECT, FILLRECT_GRADIENT, POLYGON, CHANGE_IMAGE and LOAD_PICTURE have the effect that, after the command has been executed, the screen is immediately repainted in order to show the changes. This takes much computing time if e.g. many PRINT instructions are executed one after the other, because with each time such an instruction is executed the screen has to be repainted.

 

NOREPAINT suppresses the repainting of the screen until REPAINT is executed.

 

REPAINT displays all changes at once after NOREPAINT was last executed.

 

Sample:

NOREPAINT

FOR DAY% = 1 to 31

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

ENDLOOP

REPAINT

 

See also:

REPAINT