User's Guide - Key Concepts
Boolean values are used to describe logical truths—whether something is "true" or "false." In fact, true and false are the only two possible Boolean values.
Boolean values are often used to describe the results of logical comparisons like "10 > 5" and "tree = dog." We say that "10 > 5" is true, because 10 is greater than 5. We say that "tree = dog" is false, because the string "tree" is not equal to the string "dog."
In AutoPlay Media Studio, an expression is considered true if it resolves to either the word "true," any non-zero integer value (such as "1" or "41395"), or any real number larger than 1.0 or smaller than -1.0 (such as "-2.75" or "69.96").
An expression is considered false if it resolves to anything else—in other words, an expression is false if it resolves to the number 0, a fractional number between -1.0 and 1.0, or any string other than "true" (such as "false" or "raspberry").
|
NOTE |
|
|
|
|
|
True and false are also used symbolically to represent yes/no and on/off. For instance, you can change the Repeat mode for the global MP3 player by setting it to True (for on) or False (for off). (See the "MP3 - Set Repeat" action for details.) |
(why are they called Boolean values?)
Next: Internal Files