Type: TInputType |
Unit: EgStrParser
Accepts a boolean word. Case does not matter.
| Meaning | Accepted input |
|---|---|
| True | true, t, yes, y,
sim, s, verdadeiro,
v |
| False | false, f, no, n,
nao, não, falso |
Any other input gives ERR_INVALID_FORMAT.
Values
holds True or False (the canonical form of
BoolToStr), whatever word was typed.
The SQL literal depends on the dialect:
| Dialects | True | False |
|---|---|---|
sqlMySQL,
sqlElevateDB, sqlDBISAM,
sqlPostgreSQL, sqlFirebird,
sqlBDEParadox |
TRUE |
FALSE |
sqlMSSQLServer,
sqlSQLite, sqlOracle |
1 |
0 |
sqlAccess |
True |
False |
Boolean lists and ranges are accepted, though they are rarely meaningful. Boolean ranges are not order-checked.
Input: true;false -> otList, SQLExpression (ElevateDB): IN (TRUE, FALSE)