Closed TwitchBronBron closed 7 months ago
Using and or or between two numbers results in a new number. However, the type system incorrectly assumes it's always a boolean. Here's an example:
and
or
three = &h01 or &h02 print three ' prints 3 one = &h01 and &h01 print one ' prints 1
Using
and
oror
between two numbers results in a new number. However, the type system incorrectly assumes it's always a boolean. Here's an example: