mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Initial mobile website check in
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>! (logical NOT)</name>
|
||||
|
||||
<category>Control</category>
|
||||
|
||||
<subcategory>Logical Operators</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image>logicalNOT.gif</image>
|
||||
<code>
|
||||
boolean a = false;
|
||||
if (!a) {
|
||||
rect(30, 20, 50, 50);
|
||||
}
|
||||
a = true;
|
||||
if (a) {
|
||||
line(20, 10, 90, 80);
|
||||
line(20, 80, 90, 10);
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Inverts the Boolean value of an expression. Returns <b>true</b> if the expression is <b>false</b> and returns <b>false</b> if the expression is <b>true</b>. If the expression <b>(a>b)</b> evaluates to true, then <b>!(a>b)</b> evaluates to false.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
!<c>expression</c>
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>expression</label>
|
||||
<description>any valid expression</description>
|
||||
</parameter>
|
||||
|
||||
<returns></returns>
|
||||
|
||||
<related>
|
||||
|| (logical OR)
|
||||
&& (logical AND)
|
||||
if()
|
||||
</related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Operator</type>
|
||||
|
||||
<partof>PDE</partof>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user