FANDOM



:boolean or boolean

This is a conditional statement which returns true when either boolean evaluates to true.

Location Edit

  • TEST (2nd MATH)
  • LOGIC
  • 2:or

Example Edit

:ClrHome
:Input "NUMBER:", X
:If X>5 or X=3:Then
:Output(2,1,"IT IS HIGHER THAN 5 OR IS 3
:Else
:Output(2,1,"IT IS LOWER THAN 5 AND IS NOT 3

In this program, the user inputs a number. If the program is higher than 5 or is 3, the program displays "IT IS HIGHER THAN 5 OR IS 3". Otherwise, it will display "IT IS LOWER THAN 5 AND NOT 3".

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.