This programming language may be used to instruct a computer to perform a task.
MelonBasic is a programming language and the name of its official IDE (which is in the form of a command-line interface) that runs on top of Scratch, originally released on June 10th, 2012 by Scratch user MelonInc.
With each command ending with
:, values other than static strings can be declared. These values are declared using one set of speech marks per side, like "this". These values can be used for each command unless otherwise stated:
var- The only freely changeable variable.
answer- The last answer given from an
start- Goes to line 1. This can only be used with
all- Clears all lines of text on the screen. This can only be used with
MelonBasic features the following commands:
||Sets the variable to the specified value.|
||Asks the user for input.|
||Displays the specified text on the screen.|
||Plays a sound. Two sounds are available: Laser and pop.|
||Displays a popup for 1.5 seconds. The popup will appear over the title bar on the program execution window.|
||Goes to the specified line in the program.|
||Pauses program execution for the specified amount of seconds.|
||Clears the specified lines of text on the screen.|
||Ends the program.|