[fpc-pascal] CRT unit and Windows' terminal

Mr Bee pak.lebah at yahoo.com
Sat Oct 14 14:59:27 CEST 2017


2017-10-14 14:12 GMT+07:00 <pascalX at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171014/b2f445e4/attachment.html>


More information about the fpc-pascal mailing list