On Wed, 24 Nov 2010 16:35:59 +0100 Daniel Gibson <[email protected]> wrote:
> spir schrieb: > > What i don't understand is why people who need unsigned bytes do not use > > ubyte? But instead bug into char. Is this only because of C baggage? > > > > probably because you can't write ubyte[] str = "asdf"; and they want to have > "ascii-chars" in their ubyte arrays Oh yes, sorry for the noise. Then, I don't see any other solution else having a proper ByteString type built in the compiler (that would indeed work for any single-byte encoding, not only ASCII), with a corresponding string literal pre/post-fix (one more ;-). Denis -- -- -- -- -- -- -- vit esse estrany ☣ spir.wikidot.com
