Boolean values: Difference between revisions
Content added Content deleted
m ({{header|Liberty BASIC}}) |
|||
Line 291: | Line 291: | ||
* String: the empty (zero-length) string is <code>false</code>; otherwise <code>true</code> |
* String: the empty (zero-length) string is <code>false</code>; otherwise <code>true</code> |
||
=={{header|Liberty BASIC}}== |
|||
IF-statement, loop condition treats any non-zero integer as true. |
|||
Comparison operators evaluate to 1 (true) or 0 (false). |
|||
=={{header|Logo}}== |
=={{header|Logo}}== |
||
Logo has predefined symbols for true and false ("true and "false), which are the values returned by predicates and required by logical operators and conditionals. |
Logo has predefined symbols for true and false ("true and "false), which are the values returned by predicates and required by logical operators and conditionals. |