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,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>-= (subtract assign)</name>
|
||||
|
||||
<category>Math</category>
|
||||
|
||||
<subcategory>Operators</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image></image>
|
||||
<code>
|
||||
int a = 50;
|
||||
int b = 23;
|
||||
a -= b; // sets "a" to 27
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Combines subtraction with assignment. The expression <b>a -= b</b> is equivalent to <b>a = a - b</b>.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
<c>value1</c> -= <c>value2</c>
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>value1</label>
|
||||
<description>int or float</description>
|
||||
</parameter>
|
||||
|
||||
<parameter>
|
||||
<label>value2</label>
|
||||
<description>int or float</description>
|
||||
</parameter>
|
||||
<returns></returns>
|
||||
|
||||
<related>
|
||||
+= (add assign)
|
||||
- (minus)
|
||||
</related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Operator</type>
|
||||
|
||||
<partof>Core</partof>
|
||||
|
||||
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user