boolean() \ Language (API) \ Wiring ALPHA 1.0
Search wiring.org.co:
Language (A-Z) \
Libraries \
Environment \
Learning \
Hardware
Reference for Wiring version 0027+. 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 b = boolean(60); // Sets the value of b to true
boolean a = boolean(0); // sets the value of a to false
Description
Converts a primitive datatype to its boolean representation.
Syntax
boolean(val)
Parameters
val
int, long, float, char, byte or boolean
Returns
boolean
Usage
Application
Related
booleanint()long()float()char()byte()
Updated on September 16, 2010 09:15:03pm PDT
Wiring is an open project initiated by Hernando Barragán. It is developed by a small team of volunteers.
© Info, Processing © Info
Wyszukiwarka