DISPLAY

DISPLAY

FREEZES THE PROGRAM EXECUTION TO UPDATE THE SCREEN

  • Type: Command
  • Parameter: 0
  • Group: Reference

ACTION

The command DISPLAY freezes the program execution during a while to update the display (screen). When display is updated, the program resumes its execution.

SYNTAX: DISPLAY

USE

  • The command DISPLAY is used to update the screen.

ERROR

  • None.

EXAMPLE

dim i

rem create a 3D world

scene3D 1

rem create a cube

3d_cube 1,1

rem rotates the cube around its Y axis

rem if DISPLAY is removed, we only see the result !

for i= 1 to 180

3d_y_rotate 1,i

display

next i

SEE ALSO

WAIT