-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathincrement.xml
More file actions
executable file
·54 lines (34 loc) · 925 Bytes
/
increment.xml
File metadata and controls
executable file
·54 lines (34 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>++ (increment)</name>
<category>Math</category>
<subcategory>Operators</subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
int a = 1; // Sets 'a' to 1
int b = a++; // Sets 'b' to 1, then increments 'a' to 2
int c = a; // Sets 'c' to 2
]]></code>
</example>
<description><![CDATA[
Increases the value of an integer variable by 1. Equivalent to the operation <b>i = i + 1</b>. If the value of the variable <b>i</b> is five, then the expression <b>i++</b> increases the value of <b>i</b> to 6.
]]></description>
<syntax>
value++
</syntax>
<parameter>
<label>value</label>
<description><![CDATA[int]]></description>
</parameter>
<returns></returns>
<related>
+ (add)
+= (add assign)
-- (decrement)
</related>
<availability>1.0</availability>
<type>Operator</type>
<partof>PDE</partof>
</root>