GPAGE changes the graphics screen that you see as well as the one that you write to.
If you make them alternate, then you only see the finished drawing. So even when it lags, you get a clean image.
There are 6 GPAGEs, 0-5. You can switch between the ones that you display and the ones that you write to with GPAGE displaypage,writepage
The first one will give a syntax error.
The second one will change the one being displayed to param and the page being written to to screen