ScratchData LogoScratchData
Back to AwesomeSmilee's profile

Smiling Code

AWAwesomeSmilee•Created December 26, 2015
Smiling Code
3
1
43 views
View on Scratch

Description

══════ SMILING CODE PROGRAMMING LANGUAGE ══════ ★═════════ INTRODUCTION ═════════★ This is a simple programming language, aimed at young people who are moving on from Scratch to another programming language. This behaves similarly to other programming languages (including that hide-and-seek champion, the sneaky semicolon) and is not limited in any way (code whatever you like!) All the information you'll need to know is below. ★══════════ BASIC INFO ═════════★ First, every line of code has to end in a semicolon and the arguments (parameters) are embedded in brackets. Additionally, all arguments are separated by the "|" character, as well as ending in it. Furthermore, if you make an error when you run your program it will give detail about the issue. ★══════════ WATCHERS ══════════★ "Watchers" are variables in the Smiling Code programming language, and you can use joins ("+") to join them to other text. Here is a list of built-in watchers: recentAns - The most recent user input, set by the "userInput();" command. -No more, for now. Use the "var();" command to set and create watchers. ★══════════ COMMANDS ═════════★ print(1|); This command will tell the program to type text into the console. You can use "+" (exactly like that) to join text, for example; print(Your value: "+"recentAns|) If you have gotten a user input, this will type "Your value:" and the value that the user entered. 1- The text that the console will write. === userInput(1|); This will ask the user a question and set the "recentAns" watcher to the answer. 1- The question to be answered === var(1|2|); This will create or set watchers (variables) inside the system. Every time you reset the program, all of the watchers get deleted. 1- The variable name 2- The variable value

Project Details

Project ID92590166
CreatedDecember 26, 2015
Last ModifiedJuly 23, 2017
SharedDecember 26, 2015
Visibilityvisible
CommentsAllowed