Encoded Integers (Described below) I believe would be a good addition to PureBasic, because it will add that little bit extra to it becoming on parr with the more commercialised programming languages.
Encoded Integers
An ENCINT is a variable-length integer. The high bit of each byte indicates "continued to the next byte". Bytes are stored most significant to least significant. So, for example, $EA $15 is (((0xEA&0x7F)<<7)|0x15) = 0x3515.
- "Microsoft's HTML Help (.chm) format" by Matthew T. Russotto
kawasaki wrote:Encoded Integers (Described below) I believe would be a good addition to PureBasic, because it will add that little bit extra to it becoming on parr with the more commercialised programming languages.
Which are the "more commercialised programming languages" you are thinking of?
The more major candidates for commercialised programming languages in my oppinion, obviously are C, C# and C++. Not necessarily commercialised, but more flexible.
Since there are cases out there (such as the CHM format) that uses the Encoded Integer, it would just be nice to have the Encoded Integer in the File I/O commands.