SimpleEnglish
Jump to navigation
Jump to search
SimpleEnglish is just english.
commands
NOTE: Things inside () just hold a name.
Declare a variable called (name). >> var (name) = 0; (For example Declare a variable called x. turns into var x = 0;)
Set variable (name) to (value). >> (name) = 0;
Increment variable (name). >> (name)++
Decrement variable (name). >> (name)--
Repeat "(code)" until (varname) is 0. >> while((varname)!==0) {(code)}
Repeat "(code)" until (varname) is not 0. >> while((varname)==0) {(code)}
Input to (var). >> var=prompt("Enter a number.");
Input to (var) as character. >> var=prompt("Enter a number.");