On 15.08.2017 12:15, Michael Van Canneyt via Lazarus wrote:
What does S[2] mean in your proposal ? Is it 1, 2, 4 or even 8 bytes ?
Regarding the users' appreciation, the S[x] notation is decently incompatible between the different string types and compiler versions.

There were hundreds of complains in all the appropriate forums and mailing list.

So not much additional harm can be done, anyway.

I suggest that it should be according to the character_size definition stored S, and the operation c := S[x] should transfer the appropriate count of bits, provided the type of c allows for taking them.

This seems to be compatible to the current implementation of any 1-Byte brand and UTF16.

-Michael
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to