Hold space while clicking the green flag to open the editor. Use arrow keys to scroll in the demo. By importing things, it can do logic and math. Valid imports are: import logic import pi import math Don't worry about importing things you don't need. The compiler has an auto cleaning system which deletes functions that are never called. To set a variable do var name = "Hello" Pen commands: goto 0 0 startDraw stopDraw size 5 col 0x00AA00 Functions are done like: myfunction{ in parameter return add(3, parameter) } Functions must be all after the #EXIT PROGRAM statement. Imported commands: add(2, 4) sub(7, 4) mult(6, 7) div(64, 2) To run a function and do nothing with it's return value do run name("parameter") To print things do: log "Hello world"
I forgot what MPPL stands for so don't ask me why I called it that. Credit to scratch and me. Sadly, this has a compiler and yet it's a bit slower than my other language...