~~ QUIGCODE ~~ Quigcode is a programming language I made inside scratch! It is turing complete, meaning you can program literally anything you want, even if it is quite arduous. ~~ CONTROLS GUIDE ~~ Press space to enter code editing mode. Using the arrow keys will change the code. The up and down arrow keys navigate through the list. The right arrow key replaces the current line with your input, or if nothing is inputted, deletes the line. The left arrow key inserts a new line where the pointer is. Press the green flag to execute your code. Press C to save your code as a compact string that you can load by pressing V. Use this to share with your friends! You can also press S to view some of my own creations using QuigCode. Finally, pressing 9 will erase all code and start from scratch. ~~ CODING GUIDE ~~ Lines of code are formatted as such: FUNCTION OPERAND The function, contained at the start of each line, tells the program what to do. The operand, separated from the function with a space, is the input given to the function, which may be a string of text, a number or a variable. Functions must not contain any spaces and must not begin with an @ symbol. Not every function needs an operand. Here is a list of functions: • createvar This function creates a variable with the name given in the operand. All variables start with a default value of 0. • deletevar Deletes the variable marked by the operand. • pointvar Pointvar makes the internal 'variable pointer' set to the variable with the name given by the operand. The variable pointer is used by other functions to operate on the variable. Use this before modifying any variable! • printvar This function prints the contents of a variable to a terminal. • print This function prints the operand to the terminal. • addvar, subtractvar, multiplyvar, dividevar These functions change the value of the variable in the 'variable pointer'. The operand can be a constant or any other variable. The names are quite self-explanitory. • greaterthanzero This function sets the variable marked by the 'variable pointer' to be 0 if the operand is zero or less, and 1 if it is greater than zero. • point This is a special function that changes where the code is being executed. Normally, code is executed line by line. The point function redirects where the code currently being read is. You can mark a 'code pointer' in your code by adding an @ symbol followed by the pointer name, like as follows: "". The operand of the function will redirect the code to the code pointer matching its name. Note that accessing would require this line of code: "point BreakLoop". • show Shows the main sprite. • hide Hides the main sprite. • hideterminal Hides the coding window and terminal while executing code. • costume Changes the sprite costume to the index of the operand. There are currently only 2. • stamp Stamps down using scratch's pen feature. • clear Erases all pen. • wait Wait the operand amount of seconds. • gotoX, gotoY Change the x or y position to the operand. • execute An advanced function: executes the contents of the variable named by the operand as if it were a line of code. For example, if a variable called 'code' contained the contents 'print Hello', the line 'execute code' would return the text 'Hello'. You can use this function to create recursion. There are more functions. Please see inside and try to figure them out... I'm running out of space for this description.