ScratchData LogoScratchData
Back to SimbaE11's profile

SimbaScript!V1.2(my coding language)

SISimbaE11•Created May 25, 2024
SimbaScript!V1.2(my coding language)
1
1
1 views
View on Scratch

Instructions

-SIMBASCRIPT- syntax: end all functions with a semicolon (scroll down \|/ ) functions: 1. add-: say "add-" and then whatever you want to output 2. set-: way 1. say "set-" and then whatever variable you want to set, then you do a semicolon and what it is set to.(If the variable you named is not there, it will make one for you.) way 2. say "set-" and then say the variable you are making, then do a semicolon, then say "ask" and then do a semicolon and then what you want it to ask.(If the variable you named is not there, it will make one for you.) way 3. say "set-", and then say the variable you are making, then a semicolon, and then rand, and then a semicolon, then say the lower end of the random range, then a semicolon, and finally, the high end of the range.(If the variable you named is not there, it will make one for you.) 3. prv-(print variable): say "prv-", and then the variable you would like to print 4. chv-(change variable): say "chv-", and then the variable you want to change, and then a semicolon, and then the amount you want to change it by. 5. jov-(join variable): say "jov-", and then the variable you are joining something to, and then a semicolon, and then what you are joining to it. 6. if--: Say "if--", and then say the variable you are checking, then a semicolon, and then what the value you are I checking if it is, and then a semicolon, and then all the code in the if loop(With the semicolons), and then closing square brackets. 7. ifv-(if variable): Say "ifv-", and then say the variable you are checking, then a semicolon, and the variable you are I checking if it is, and then a semicolon, and then all the code in the if loop(With the semicolons), and then closing square brackets. 8. ife-(if-else): Say "ife-", and then say the variable you are checking, then a semicolon, and then what the value you are checking if it is, and then a semicolon, and then all the code in the if loop(With the semicolons), and then closing square brackets, then a semicolon, then all the code in the else loop(With the semicolons), then a semicolon, then closing brackets. 9. ive-(if-variable-else): Say "ive-", and then say the variable you are checking, then a semicolon, and then what the variable you are checking if it is, and then a semicolon, and then all the code in the if loop, and then closing square brackets, then a semicolon, and then the code in the else loop(With semicolons), then a semicolon, then closing brackets. error detection: 1. Not-a-function: Will detect if what you typed is a function, and if it is not, will stop the program and bring up the error: Error: that is not a function. Make sure you are: 1. Adding a semicolon at the end of the code.

Description

This update was made to add nested conditional statements

Project Details

Project ID1027135378
CreatedMay 25, 2024
Last ModifiedMay 26, 2024
SharedMay 25, 2024
Visibilityvisible
CommentsAllowed