Here is why
Quote:
Originally Posted by Zombe
The level data type is 1 byte (FF = 255), so it can't go over 255. Its just not possible, as 256 would be 100 in hexadecimal, and that would require 2 bytes.
If the data type was 2 bytes, the max lvl could be 65535.
If 3 bytes, 16777215.
Thats the basics of programming.
|
Each hexadecimal digit represents four binary digits (bits), and the primary use of hexadecimal notation is a human-friendly representation of binary-coded values in computing and digital electronics.
One hexadecimal digit represents a nibble, which is half of an octet (8 bits).
For example, byte values can range from 0 to 255 (decimal), but may be more conveniently represented as two hexadecimal digits in the range 00 to FF.
Hexadecimal is also commonly used to represent computer memory addresses.
enough said