12 lines
353 B
Plaintext
12 lines
353 B
Plaintext
boolTrue = true
|
|
boolFalse = false
|
|
|
|
if boolTrue then print "boolTrue is true, and its value is: " + boolTrue
|
|
|
|
if not boolFalse then print "boolFalse is not true, and its value is: " + boolFalse
|
|
|
|
mostlyTrue = 0.8
|
|
kindaTrue = 0.4
|
|
print "mostlyTrue AND kindaTrue: " + (mostlyTrue and kindaTrue)
|
|
print "mostlyTrue OR kindaTrue: " + (mostlyTrue or kindaTrue)
|