The Boa Programming Guide - Constants
Boolean Constants | ||
Constant | Type | Description |
---|---|---|
true | bool | Literal Boolean true value |
false | bool | Literal Boolean false value |
Floating-point Constants | ||
Constant | Type | Description |
---|---|---|
PI | float | A floating point approximation of Pi, 3.1415926535897931 |
Inf | float | IEEE 754 infinity |
inf | float | IEEE 754 infinity |
NaN | float | IEEE 754 not a number |
nan | float | IEEE 754 not a number |
Time Constants | ||
Constant | Type | Description |
---|---|---|
SECOND | time | One million microseconds |
SEC | time | Synonym for SECOND |
MINUTE | time | Sixty SECOND s |
MIN | time | Synonym for MINUTE |
HOUR | time | Sixty MINUTE s |
HR | time | Synonym for HOUR |