Temporary Variables: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
→Blocks: Replace block images with Scratchblocks |
||
Line 6: | Line 6: | ||
the following images are made with https://scratchblocks.github.io/ and https://en.scratch-wiki.info/wiki/Block_Plugin/Syntax |
the following images are made with https://scratchblocks.github.io/ and https://en.scratch-wiki.info/wiki/Block_Plugin/Syntax |
||
[ |
<sb>set [Variable] to (1) :: #0869c2</sb> Set the temporary variable to a value. Can also be used for defining. |
||
[ |
<sb>change [Variable] by (1) :: #0869c2</sb> Change the temporary variable by a number. |
||
<sb>(get [Variable] :: #0869c2)</sb> Get the value of the temporary variable. |
|||
<sb>delete [Variable] :: #0869c2</sb> [[Delete () (Temporary Variables)|Delete the temporary variable.]] |
|||
<sb>delete all variables :: #0869c2</sb> Deletes every temporary variable. |
|||
[ |
<sb><variable [Variable] exists :: #0869c2></sb> Checks if the temporary variable exists. |
||
<sb>(current variables :: #0869c2)</sb> returns a list with every temporary variables. (will not include the value of those variables) |
|||
<scratchblocks>for each [variable] in (10) { |
|||
⚫ | |||
⚫ | |||
{{ExtensionsNav}} |
{{ExtensionsNav}} |