Not (): Difference between revisions

From PenguinMod Wiki
Not ()
Jump to navigation Jump to search
Content deleted Content added
Created page with "{{Needs Images}} {{Infobox Block |block_img = |block_type = Boolean Block |category = Operators |title = not () }} The '''not ()''' block is a boolean block that reports true if the boolean is false, and false otherwise, negating the value of the boolean. It originates from Scratch. ==Workaround== This block can be worked around by using the () = () with the boolean as one of the inputs, and 0 or false as the other input. ==See also== *() nor () {{DISPLAYTITL..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Needs Images}}
{{Infobox Block
{{Infobox Block
|block_name = not <>
|block_img =
|block_type = Boolean Block
|block_type = Boolean Block
|category = [[Operators]]
|category = [[Operators]]
|title = not ()
|title = not ()
}}
}}
The '''not ()''' block is a boolean block that reports true if the boolean is false, and false otherwise, negating the value of the boolean. It originates from Scratch.
The '''not ()''' block is a boolean block that reports true if the boolean is false, and false otherwise, negating the value of the boolean. It originates from [[Scratch]].
==Workaround==
==Workaround==
This block can be worked around by using the [[() = ()]] with the boolean as one of the inputs, and 0 or false as the other input.
This block can be worked around by using the [[() = ()]] with the boolean as one of the inputs, and 0 or false as the other input:<br>
<sb><<bool::grey> = [false]></sb><br>
Or:<br>
<sb><<bool::grey> = [0]></sb>
==See also==
==See also==
*[[() nor ()]]
*[[() nor ()]]
{{DISPLAYTITLE:not ()}}
{{DISPLAYTITLE:not ()}}
{{Blockcat|type=Boolean|cat=Operators|sc=y}}
[[Category:Boolean Blocks]]
[[Category:Operators Blocks]]
[[Category:Vanilla Blocks]]

Latest revision as of 22:10, 8 July 2024

not ()
not <>
Caption
Block Type Boolean Block
Category / Extension Operators
Status Who tf uses status

The not () block is a boolean block that reports true if the boolean is false, and false otherwise, negating the value of the boolean. It originates from Scratch.

Workaround

This block can be worked around by using the () = () with the boolean as one of the inputs, and 0 or false as the other input:
<<bool::grey> = [false]>
Or:
<<bool::grey> = [0]>

See also