Jump to content

Boolean values: Difference between revisions

m
{{header|Liberty BASIC}}
m ({{header|Liberty BASIC}})
Line 291:
* 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}}==
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.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.