Computer Science Canada

The 'View' Module

Author:  scholarlytutor [ Sat May 09, 2020 9:47 am ]
Post subject:  The 'View' Module

What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>

Drawing to the offscreen buffer


What is the problem you are having?

My drawing shows on the run window instead of the offscreen buffer.


Describe what you have tried to solve this problem
<Answer Here>

Unsure of how to fix the problem.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)



Turing:


View.Set("graphics:640;480")
View.Set("title:Test Title")
drawfillbox(0, 0, 100, 100, 1)

View.Set("offscreenonly")

drawfillbox(200, 200, 300, 300, 2)

delay (2000)

View.Update



Please specify what version of Turing you are using

Tried it in 4.1.1 and Open Turing


: