ScratchData LogoScratchData
Back to sooperhero1's profile

Coding Unit

SOsooperhero1•Created March 20, 2017
Coding Unit
1
1
2 views
View on Scratch

Instructions

While programming: \run - runs code. \restart - resets code. \del_line - allows you to delete a line. \edit_line - allows you to edit a line. \ist_line - allows you to insert a line. While running: \edit_var - allows you to create/edit a variable. On the next line, put the name of the variable, and on the one after put its value. \print - prints text. On the next line, put the name of the variable you want to print from. \input - allows you to receive input from the player. On the next line write the variable to take the prompt from, and on the one after write what variable to put the result in. \go_to - sends the program to a specified line. \test - compares the variables in the next two lines. If they don't match, it acts like a \go_to command with the next line containing the line to go to. \wait - waits the amount of seconds stored in the variable on the next line. \add - adds the first two variables together and stores the result in the third. \sub - subtracts the second value from the first and stores the result in the third. \mul - multiplies the first two variables together and stores the result in the third. \div - divides the second value by the first and stores the result in the third. \ind - puts the first value to the power of the first and stores the result in the third. \error - calls an error.

Description

Instead of imputing a variable, you can put in a string or number with a '/' before it. For example, instead of: \edit_var print Hello world! \print print Use: \print /Hello world!

Project Details

Project ID151249839
CreatedMarch 20, 2017
Last ModifiedSeptember 2, 2018
SharedAugust 17, 2018
Visibilityvisible
CommentsAllowed