Operators: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Ninja 6734 (talk | contribs) m added information about the vm's JS-Code for the Operators |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
'''Operators''' is a block category originating from Scratch.
==Scratch Blocks==
*[[() + ()|<sb>() + ()</sb>]]
*[[() - ()|<sb>() - ()</sb>]]
*[[() * ()|<sb>() * ()</sb>]]
*[[() / ()|<sb>() / ()</sb>]]
*[[pick random () to ()|<sb>pick random (1) to (10)</sb>]]
*[[() greater than ()|
*[[() less than ()|
*[[() = ()|<sb>[] = [50]</sb>]]
*[[() and ()|<sb><> and <></sb>]]
*[[() or ()|<sb><> or <></sb>]]
*[[not ()|<sb>not <></sb>]]
*[[join () ()|<sb>join [apple ] [banana]</sb>]]
*[[letter () of ()|<sb>letter (1) of [apple]</sb>]]
*[[length of () (Operators)|length of ()]]
*[[() contains () (Operators)|() contains ()]]
*[[() mod ()]]
*[[round ()|<sb>round ()</sb>]]
*[[() of () (Operators)|
== PenguinMod Blocks ==
Line 28:
* [[() ≤ ()]]
* [[() ≠ ()]]
* [[true|<sb>true::operators boolean</sb>]]
* [[false|<sb>false::operators boolean</sb>]]
* [[new line|<sb>new line::operators reporter</sb>]]
* [[tab character]]
* [[join () () ()]]
Line 51:
*[[() & ()]]
*[[() bitwise or ()|() | ()]]
*[[Random|<sb>random::operators boolean</sb>]]
*[[() nand ()]]
*[[() nor ()]]
Line 86:
== Operator JS-Code ==
The Javascript Code for all operator blocks
[[Category:Vanilla Categories]]
|
Latest revision as of 17:45, 25 July 2024
Operators is a block category originating from Scratch.
Scratch Blocks
() + ()
() - ()
() * ()
() / ()
pick random (1) to (10)
[] > [50]
[] \< [50]
[] = [50]
<> and <>
<> or <>
not <>
join [apple ] [banana]
letter (1) of [apple]
- length of ()
- () contains ()
- () mod ()
round ()
[abs v] of ()
PenguinMod Blocks
- () (v) ()
- constrain () min () max ()
- interpolate () to () by ()
- () ≥ ()
- () ≤ ()
- () ≠ ()
true::operators boolean
false::operators boolean
new line::operators reporter
- 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::operators boolean
- () 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 is 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 |