forked from jdf/processing-py-site
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBoolean.xml
More file actions
53 lines (39 loc) · 1002 Bytes
/
Boolean.xml
File metadata and controls
53 lines (39 loc) · 1002 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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>Boolean</name>
<category>Data</category>
<subcategory>Primitive</subcategory>
<usage>Web & Application</usage>
<example>
<image />
<code><![CDATA[
a = False
if not a:
rect(30, 20, 50, 50)
a = True
if a:
line(20, 10, 90, 80)
line(20, 80, 90, 10)
]]></code>
</example>
<description><![CDATA[
Datatype for the Boolean values <b>True</b> and <b>False</b>. It is common to use <b>boolean</b> values with control statements to determine the flow of a program.
]]></description>
<syntax>
<c>var</c> = <c>booleanValue</c>
</syntax>
<parameter>
<label>var</label>
<description><![CDATA[variable name referencing the value]]></description>
</parameter>
<parameter>
<label>booleanValue</label>
<description><![CDATA[True or False]]></description>
</parameter>
<returns></returns>
<related>True</related>
<related>False</related>
<availability>1.0</availability>
<type>Datatype</type>
<partof>PYDE</partof>
</root>