Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 451 Bytes

1457-language-false.markdown

File metadata and controls

37 lines (25 loc) · 451 Bytes

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" 
close