Either its me or Blitz doesnt use "And" as a math operator at all, and instead for statement usage.
Anyway, was bored and came up with another way of doing it :
(decided to use select since they're faster than mod)
Anyway, was bored and came up with another way of doing it :
(decided to use select since they're faster than mod)
Print IsOdd(975471) Function IsOdd(x) y$ = Right(Str(x),1) Select y Case 0 : Return 0 Case 1 : Return 1 Case 2 : Return 0 Case 3 : Return 1 Case 4 : Return 0 Case 5 : Return 1 Case 6 : Return 0 Case 7 : Return 1 Case 8 : Return 0 Case 9 : Return 1 End Select End Function WaitKey()