mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
54 lines
985 B
XML
54 lines
985 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<root>
|
|
<name>// (comment)</name>
|
|
|
|
<category>Structure</category>
|
|
|
|
<subcategory></subcategory>
|
|
|
|
<usage>Web & Application</usage>
|
|
|
|
<example>
|
|
<image></image>
|
|
<code>
|
|
// Draws two lines which divides the window
|
|
// into four quadrants
|
|
line(0, 50, 100, 50); // Draw the horizontal line
|
|
line(50, 0, 50, 100); // Draw the vertical line
|
|
</code>
|
|
</example>
|
|
|
|
<description>
|
|
Explanatory notes embedded within the code. Comments are used to remind yourself and to inform others about the function of your program. Single-line comments are signified with the <b>//</b> characters. Comments are ignored by the compiler.
|
|
</description>
|
|
|
|
<syntax>
|
|
// <c>comment</c>
|
|
</syntax>
|
|
|
|
<parameter>
|
|
<label>comment</label>
|
|
<description>any sequence of characters</description>
|
|
</parameter>
|
|
|
|
<returns></returns>
|
|
|
|
<related>
|
|
/* */ (multiline comment)
|
|
</related>
|
|
|
|
<availability>1.0</availability>
|
|
|
|
<type>Operator</type>
|
|
|
|
<partof>PDE</partof>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</root>
|