⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥ ✴✳✲✰✯CO - LANGUAGE✯✰✲✴✳ ⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥⌥ Command Operated - Language is a basic programming language used to perform simple calculations, A bit like windows batch and Python. NOTE: No need to use brackets or quotation marks ☺ NOTE 2: Before typing 'run' to run your program type 'end' before it program will gitch... Badly example: print hello world end run ╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼╼ Help ➩ (You can type HELP for help) In CO - LANGUAGE, A command is entered, the 'enter' key is pressed to write a command. There are plenty commands in CO - LANGUAGE listed below. ▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃ ♦Commands ♦ ▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃ PRINT (string) : Displays the string on the screen Syntax: print hello world Output: hello world ================================================ DELAY (No.) Waits (no.) seconds Syntax: Delay 2 ================================================ CLS Clears the screen Syntax: CLS ================================================ END Will end the program, Try using this whenever you want the program to end. Syntax: End ================================================ INPUT (Text) Will ask for input. Input use is coming soon. Syntax: INPUT Enter your name Output: Enter your name | ================================================ // (note) Adds a note to your code to make it easily readable Syntax: //This is a note ================================================ Multiply, Divide, Add, Subtract Multiplies, Divides, Adds, Subtracts the two numbers after it EX: Subtract 15 2 Output: 13 ================================================ GOTO (Line number) Goes to the selected line number, used to create forever loops ================================================ TIME Adds the time to the console ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ ⧸Example Programs⧹ ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ Hello World: 1 print Hello World 2 end 3 run Output: Hello World Press any key to continue ⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁⌁ //Sum of 2 numbers add 2 21 end run Output: 23 //A timer of 5 seconds: print Alarm will ring in 5 seconds delay 5 print Ring! Ring! end run //Forever Loop print Hello World goto 1 end run ==================
Thank you @smartzx for curating this (4/16/18) you rock! I used @CodeLegend 's AUTOtext engine for the typing interface. Rest is all by me :) AUTOtext: https://scratch.mit.edu/projects/118313394/ Changelog: v 1.0: Official release of CO - Language, currently in beta version v1.5: Tons of commands added, better thumbnail. Instructions changed. Pros: 1) Invalid command/syntax detector 2) Line numbers revamp 3) Hue shift for better visibility 4) Various commands Cons: 1) Input feature does not have an "answer" variable 2) Variables and lists cannot be implemented into CO - Language 3) You cannot save your code... yet xD Well, at least the pros > cons, right? What will be added - HELP statement Text to speech and sounds Variables Functions Save / Load your code