FALSE

FALSE

Boolean FALSE.

Example 1: Assign FALSE to a variable

a = true
b = false

print a  ' output: 1
print b  ' output: 0

Example 2: Use in a while loop

IsRunning = true

while(IsRunning)
    i++
    print i    
    if(i == 5) then IsRunning = false
wend

'Output: 1 2 3 4 5

Example 3: Use in a if statement

ButtonPressed = false   ' replace false with true
if(ButtonPressed) then print "Button was pressed"
Language
If there is insufficient information on this page and you wish learn more about FALSE, please send an email to smallbasic@gmail.com. You can help to improve information about FALSE by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.