Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Function Binary1(x As Integer) As Boolean
  2. Binary1 = (x Mod 2) <> 0
  3. End Function
  4. Function Binary2(x As Integer) As Boolean
  5. Binary2 = (x \ 2) Mod 2 <> 0
  6. End Function
  7. Function Binary3(x As Integer) As Boolean
  8. Binary3 = (x \ 4) Mod 2 <> 0
  9. End Function
  10. Function Binary4(x As Integer) As Boolean
  11. Binary4 = (x \ 8) Mod 2 <> 0
  12. End Function
  13. Function Binary5(x As Integer) As Boolean
  14. Binary5 = (x \ 16) Mod 2 <> 0
  15. End Function
  16. Function Binary6(x As Integer) As Boolean
  17. Binary6 = (x \ 32) Mod 2 <> 0
  18. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement