2017-10-14 14:12 GMT+07:00 <pasc...@piments.com>:

>
> Thanks for that lengthy description of the problem, much better than OP's
> just describing output as rubbish, or something similar.


> since char is a single byte type a large value will just get truncated. If
> you turn on range checking it should return a compiler time error. You
> could check that.
>

But I don't use char() nor #xxx to output the box chars. No casting, no
truncation, no nothing, because I also suspect that could be problematic. I
just write the unicode char directly into the string, you know… a normal
string.

-- 

Regards,


–Mr Bee
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to