ScratchData LogoScratchData
Back to ACollectionOfFun's profile

ScratchInput [v0.5 BETA]

ACACollectionOfFun•Created January 24, 2023
ScratchInput [v0.5 BETA]
0
0
5 views
View on Scratch

Instructions

*PLEASE REPORT ANY BUGS* Press the SPACE key to add a function to the list. Only type one function per line. Press the R key to run your program. Press the S key to stop the program from running (this is in case running? = 1 and there is nothing left to run) List of Functions: ask() Allows you to ask for user input. Put what you wish to ask between the parenthesis. Put quotation marks to ask a string value, or don't use quotation marks to ask the value of a variable. Ex. If the value of greeting is "how are you" ask(greeting) will ask the value of greeting, which is "how are you". ask("how are you") will ask "how are you". showAnswer() Shows the value of "answer", which contains the user's answer after an ask() function is declared, or null at start newVariable(name:value) Allows you to store a variable as a string. Put what you wish to name/assign the variable between the parenthesis. Ex. newVariable(hi:5) is a variable named "hi" that has a value of "5". "answer" is also a pre-existing variable. clearOutput() Clears the output display clearInput() Clears the input display

Project Details

Project ID793084418
CreatedJanuary 24, 2023
Last ModifiedJanuary 27, 2023
SharedJanuary 25, 2023
Visibilityvisible
CommentsAllowed