Difference between revisions of "Talk:Character and string types"

From Free Pascal wiki
Jump to navigationJump to search
(thanks)
Line 9: Line 9:
 
:: BTW: thanks for writing this page - it's very helpful!
 
:: BTW: thanks for writing this page - it's very helpful!
 
:: --[[User:BigChimp|BigChimp]] 16:53, 28 December 2013 (CET)
 
:: --[[User:BigChimp|BigChimp]] 16:53, 28 December 2013 (CET)
 +
 +
::: Thanks for your positive feedback. In fact, it is ANSI. Although the official Free Pascal documentation states that a char contains an ASCII character, is is stored as a byte to use extended ASCII or ANSI.
 +
::: --[[User:Jwdietrich|Jwdietrich]] 16:55, 28 December 2013 (CET)

Revision as of 17:55, 28 December 2013

Doesn't ANSIChar contain an ANSI character instead of ASCII? I.e. it is codepage dependent but can contain byte values 0..255?

--BigChimp 15:28, 28 December 2013 (CET)

This is the information of the official FPC documentation. I will do additional research.
--Jwdietrich 15:33, 28 December 2013 (CET)
Yes, I suspect the official FPC documentation is wrong/incomplete ;)
BTW: thanks for writing this page - it's very helpful!
--BigChimp 16:53, 28 December 2013 (CET)
Thanks for your positive feedback. In fact, it is ANSI. Although the official Free Pascal documentation states that a char contains an ASCII character, is is stored as a byte to use extended ASCII or ANSI.
--Jwdietrich 16:55, 28 December 2013 (CET)