IF bit = 1 THEN '
byte = $FF '
ELSE '
byte = $0 '
ENDIF '
Or......
byte = $0 '
IF bit = 1 THEN '
byte = $FF '
ENDIF '
Or...
byte = bit * 255 '
Don't know what's faster or compiles to more code space.
Any further ideas?
Changing every bit in a byte to match the status of a seperate bit...
Don't need the code anymore, but I still think I'm missing a better solution.
Bookmarks