• Program
  • Machine
  • File
  • Code
  • Usage
  • PCode
  • Font: -+

Open Local File

Open Example Program

Open CSAC Book Program

Save Current File

ExpressionLevelCountProgram Lines
    • X500
    • Y500
    • 0
    • 2
  • Options
  • Canvas & Console
  • Output
  • Memory

Performing more than one drawing command at a time greatly increases drawing speed. Set to 1 to see every drawing change individually (slower). Pause and update/noupdate override this default.

This number sets how many commands to allow before forcing the canvas to update. Set to 0 for no limit. A higher number generally results in faster program execution, but some programs can cause the browser (or browser tab) to hang if they execute a large number of commands without ever updating the canvas.

When the program sets the resolution to this value or less (in either dimension), the machine will artificially double the resolution, and make everything twice as big. This helps very low resolution programs to display more clearly and accurately. Set to 0 to disable.

The Memory Stack stores the variables of the program and subroutines, with string variables represented as pointers to the Memory Heap. The Memory Heap lies directly above the Memory Stack, and stores the actual strings. The Memory Stack should be sufficiently large to avoid the storage of program variables overflowing into the Memory Heap.