BCX Console Demonstration Program
S12.bas |

`DIM`

a`DIM`

b a`=`

`1`

b`=`

`2`

`IF`

a`=`

`1`

`AND`

b`=`

`2`

`THEN`

?`"Both expressions are true"`

`END`

`IF`

`IF`

a`=`

`1`

`OR`

b`=`

`2`

`THEN`

?`"At least one expression is true"`

`END`

`IF`

`IF`

`(`

a`+`

`0`

`=`

`1`

`OR`

b <>`2`

`+`

`0`

`)`

`OR`

`(`

b`+`

`0`

`=`

`2`

`AND`

a`+`

`0`

`=`

`1`

`)`

`THEN`

?`"At least one expression is true"`

`END`

`IF`