Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
38
Lang/ScratchScript/00-LANG.txt
Normal file
38
Lang/ScratchScript/00-LANG.txt
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{{stub}}
|
||||
''For solutions in the programming language developed by the Lifelong Kindergarten group at the MIT Media Lab, see [[:Category:Scratch]].''
|
||||
{{language
|
||||
|checking=static
|
||||
|hopl=no
|
||||
|site=
|
||||
}}
|
||||
{{language programming paradigm|object-oriented}}
|
||||
ScratchScript is a programming language and the name of [https://scratch.mit.edu/projects/325836628/ its official IDE] (which is in the form of a command-line interface) that runs on top of [[Scratch]], originally released on November 25th, 2019 by [[Scratch]] user [https://scratch.mit.edu/users/NTPrograms NTPrograms].
|
||||
|
||||
ScratchScript features the following commands:
|
||||
{| class="wikitable"
|
||||
!Command
|
||||
!Description
|
||||
|-
|
||||
| style="text-align:center"| <code>print</code> || Displays the specified text on the screen.
|
||||
|-
|
||||
| style="text-align:center"| <code>color</code> || Sets the color of the text.
|
||||
|-
|
||||
| style="text-align:center"| <code>delay</code> || Pauses program execution for the specified amount of seconds.
|
||||
|-
|
||||
| style="text-align:center"| <code>clear</code> || Clears all text.
|
||||
|-
|
||||
| style="text-align:center"| <code>pos</code> || Sets the x and y coordinates of the text.
|
||||
|-
|
||||
| style="text-align:center"| <code>textSize</code> || Sets the size of the text.
|
||||
|-
|
||||
| style="text-align:center"| <code>newln</code> || Creates a new line.
|
||||
|-
|
||||
| style="text-align:center"| <code>loop</code> || Loops the code from <code>{</code> to <code>}</code> the specified amount of times.
|
||||
|-
|
||||
| style="text-align:center"| <code>delayOnClick</code> || Pauses program execution until the mouse is clicked.
|
||||
|-
|
||||
| style="text-align:center"| <code>//</code> || Acts as a comment.
|
||||
|}
|
||||
|
||||
[[Category:Language Implementations in Scratch]]
|
||||
[[Category:Web Application]]
|
||||
2
Lang/ScratchScript/00-META.yaml
Normal file
2
Lang/ScratchScript/00-META.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
from: http://rosettacode.org/wiki/Category:ScratchScript
|
||||
1
Lang/ScratchScript/Empty-program
Symbolic link
1
Lang/ScratchScript/Empty-program
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Empty-program/ScratchScript
|
||||
1
Lang/ScratchScript/Hello-world-Graphical
Symbolic link
1
Lang/ScratchScript/Hello-world-Graphical
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Hello-world-Graphical/ScratchScript
|
||||
1
Lang/ScratchScript/Hello-world-Text
Symbolic link
1
Lang/ScratchScript/Hello-world-Text
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Hello-world-Text/ScratchScript
|
||||
1
Lang/ScratchScript/Spinning-rod-animation-Text
Symbolic link
1
Lang/ScratchScript/Spinning-rod-animation-Text
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Spinning-rod-animation-Text/ScratchScript
|
||||
Loading…
Add table
Add a link
Reference in a new issue