boolean \ Language (API) \ Processing 1.0
Search processing.org:
Language (A-Z) \
Libraries \
Tools \
Environment \
Compare \
Troubleshooting
Reference for Processing version 1.0+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name
boolean
Examples
boolean a = false;
if (!a) {
rect(30, 20, 50, 50);
}
a = true;
if (a) {
line(20, 10, 90, 80);
line(20, 80, 90, 10);
}
Description
Datatype for the Boolean values true and false. It is common to use booleanvalues with control statements to determine the flow of a program. The first time a variable is written, it must be declared with a statement expressing its datatype.
Syntax
boolean var
boolean var = booleanvalue
Parameters
var
variable name referencing the value
booleanvalue
true or false
Usage
Web & Application
Related
truefalse
Updated on November 22, 2008 08:39:25pm PST
Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.
© Info \
Site hosted by Media Temple!
Wyszukiwarka
Podobne podstrony:
BooleanBooleanControl TypeTUTORIALE Modelowanie Poprawianie błędów funkcji BOOLEAN w 3ds maxR3 Algebra Booleaboolean06 Boolean AlgebraBooleanlanguage types booleanbooleantest ideas for booleans ands and ors?81527Bbooleanzend variables booleanBooleanControlBooleanSeqHelperbooleanBooleanjava lang Booleanwięcej podobnych podstron