Operators: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
Ninja 6734 (talk | contribs) m (added information about the vm's JS-Code for the Operators) |
||
Line 84: | Line 84: | ||
* [[javascript (Operator)]] (moved to [[Javascript (Extension)|Javascript extension]]) |
* [[javascript (Operator)]] (moved to [[Javascript (Extension)|Javascript extension]]) |
||
* [[javascript (Boolean)]] (moved to Javascript extension) |
* [[javascript (Boolean)]] (moved to Javascript extension) |
||
{{CategoriesNav}} |
|||
== Operator JS-Code == |
|||
The Javascript Code for all operator blocks are open source and can be found on [https://github.com/PenguinMod/PenguinMod-Vm/blob/develop/src/blocks/scratch3_operators.js PenguinMod's Github]{{CategoriesNav}} |
|||
[[Category:Vanilla Categories]] |
[[Category:Vanilla Categories]] |
Revision as of 18:25, 9 June 2024
Operators is a block category originating from Scratch.
Scratch Blocks
- () + ()
- () - ()
- () * ()
- () / ()
- pick random () to ()
- () > ()
- () < ()
- () = ()
- () and ()
- () or ()
- not ()
- join () ()
- letter () of ()
- length of ()
- () contains ()
- () mod ()
- round ()
- () of ()
PenguinMod Blocks
- () (v) ()
- constrain () min () max ()
- interpolate () to () by ()
- () ≥ ()
- () ≤ ()
- () ≠ ()
- true
- false
- new line
- tab character
- join () () ()
- index of () in ()
- last index of () in ()
- letters from () to () in ()
- () (v) with ()
- in () replace all () with ()
- in () replace first () with ()
- match () with regex () ()
- () to (v)
- ()
- () (boolean)
Expansion
- text after () in ()
- text before () in ()
- () << ()
- () >> ()
- () & ()
- () | ()
- random
- () nand ()
- () nor ()
- () xor ()
- () xnor ()
- amount of times () appears in ()
- read line () in ()
- is () in between () and ()?
- answer to ()
- set replacer () to ()
- reset replacers
- apply replacers to ()
- () includes a letter from ()?
- character () to id
- id () to character
- if () true then ()
- () exactly equals ()
- () part of ratio ()
- simplify ratio ()
- is () multiple of ()
- is () even
- is () an integer
- is () a prime number
- truncate number ()
- reverse () (Operators)
- () or if falsey ()
- shuffle ()
- π
- e
- ∞
Moved Blocks
- javascript (Operator) (moved to Javascript extension)
- javascript (Boolean) (moved to Javascript extension)
Operator JS-Code
The Javascript Code for all operator blocks are open source and can be found on PenguinMod's Github
v • e Categories Nav | |
---|---|
Vanilla | Motion · Looks · Sound · Variables (Variables · Lists) · Events · Control · Sensing · Operators · My Blocks |