This should not return any errors.
Of course the result will be unknown since none of the variables are initialized, but itCode:SecOnes var byte Seconds var byte SecOnes = Seconds & $0f
definitely should not return an error.
Because a value of $0F (%00001111) ANDed with another 8-bit value will return allWhy does it say $0f ???
0's in the upper 4-bits of the result MASKing the upper 4-bits out.
Bookmarks