Hello,
I'm trying to work with UCS4Char (for this:
https://github.com/ik5/fp-msgpack), but I can't figure out how to do it.
For example, if do the following:
-------------------------------
{$H+}
uses cwstring;
var
ch : UCS4Char;
begin
ch := #$233B4;
writeln(ch);
end.
-------------------------------I get the following error:
ppcx64 test.pas
Free Pascal Compiler version 2.6.0 [2012/05/17] for x86_64 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: Linux for x86-64
Compiling test.pas
test.pas(8,9) Error: Illegal char constant
test.pas(8,9) Error: Incompatible types: got "Constant String" expected "UCS4Char"
test.pas(11) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted
And if I do it without the hash, then it's just a number
So how can I use it ?
Thanks,
Ido
