Apr 3, 2011 at 7:01 PM
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
445. It works as such
<CMU0123
the value is ('0' * 1000) + ('1' * 100) + ('2' * 10) + '3'
But, when the char values are taken it subtracts 0x30 so '0' is 0 and so forth
this is why -ve values work
<CMU0123
the value is ('0' * 1000) + ('1' * 100) + ('2' * 10) + '3'
But, when the char values are taken it subtracts 0x30 so '0' is 0 and so forth
this is why -ve values work