-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathvoid.xml
More file actions
executable file
·66 lines (43 loc) · 1.16 KB
/
Copy pathvoid.xml
File metadata and controls
executable file
·66 lines (43 loc) · 1.16 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>void</name>
<category>Structure</category>
<subcategory></subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
void setup() { // setup() does not return a value
size(200, 200);
}
void draw() { // draw() does not return a value
line(10, 100, 190, 100);
drawCircle();
}
void drawCircle() { // This function also does not return a value
ellipse(30, 30, 50, 50);
}
]]></code>
</example>
<description><![CDATA[
Keyword used indicate that a function returns no value. Each function must either return a value of a specific datatype or use the keyword <b>void</b> to specify it returns nothing.
]]></description>
<syntax>
void <c>function</c> {
<c>statements</c>
}
</syntax>
<parameter>
<label>function</label>
<description><![CDATA[any function that is being defined or implemented]]></description>
</parameter>
<parameter>
<label>statements</label>
<description><![CDATA[any valid statements]]></description>
</parameter>
<returns></returns>
<related></related>
<availability>1.0</availability>
<type>Keyword</type>
<partof>PDE</partof>
</root>