You are browsing as a guest. Sign up (or log in) to start making projects!

7h 46m logged

hi people! this time i added a set of bitwise operations to the language: AND(x,y), OR(x,y), XOR(x,y), NOT(x), SHL(x,n), and SHR(x,n). these work on values converted to 32-bit integers, and the shift functions keep large shift counts predictable by masking them to 31.

i also added HEX$(x) and BIN$(x) string functions for displaying numbers in hexadecimal and binary, without unnecessary leading zeroes. on top of that, the number parser now accepts hexadecimal and binary literals using &H… and &B….

finally, i updated the built-in HELP text so the new functions and literal formats are documented in the system itself. that’s all for now

0
4

Comments 0

No comments yet. Be the first!