Files
processing4/mobile/web/reference/API/void.xml
2005-01-27 06:48:42 +00:00

62 lines
958 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>void</name>
<category>Structure</category>
<subcategory></subcategory>
<usage>Web &amp; Application</usage>
<example>
<image></image>
<code>
void setup() {
size(200, 200);
}
void loop() {
line(10, 100, 190, 100);
}
</code>
</example>
<description>
Keyword used indicate 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 the function returns nothing.
</description>
<syntax>
void <c>function</c> {
<c>statements</c>
}
</syntax>
<parameter>
<label>function</label>
<description>any function that is being defined or implemented</description>
</parameter>
<parameter>
<label>statements</label>
<description>any valid statements</description>
</parameter>
<returns></returns>
<related></related>
<availability>1.0</availability>
<type>Keyword</type>
<partof>PDE</partof>
</root>