mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
58 lines
961 B
XML
58 lines
961 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<root>
|
|
<name>, (comma)</name>
|
|
|
|
<category>Structure</category>
|
|
|
|
<subcategory></subcategory>
|
|
|
|
<usage>Web & Application</usage>
|
|
|
|
<example>
|
|
<image></image>
|
|
<applet></applet>
|
|
<code>
|
|
// Comma used to separate a list of variable declarations
|
|
int a=20, b=30, c=80;
|
|
|
|
// Comma used to separate a list of values assigned to an array
|
|
int[] d = { 20, 60, 80 };
|
|
|
|
// Comma used to separate a list of parameters passed to a function
|
|
line(a, b, c, b);
|
|
line(d[0], d[1], d[2], d[1]);
|
|
</code>
|
|
</example>
|
|
|
|
<description>
|
|
Separates parameters in function calls and elements during assignment.
|
|
</description>
|
|
|
|
<syntax>
|
|
value1, ..., valueN
|
|
</syntax>
|
|
|
|
<parameter>
|
|
<label>value1, ..., valueN</label>
|
|
<description>any int, float, byte, boolean, color, char, String</description>
|
|
</parameter>
|
|
|
|
<returns></returns>
|
|
|
|
<related></related>
|
|
|
|
<availability>1.0</availability>
|
|
|
|
<type>Operator</type>
|
|
|
|
<partof>PDE</partof>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</root>
|