[fpc-devel] Re: What to expect if FPC fully supports unicode?

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Sep 18 18:15:51 CEST 2008


On Thu, Sep 18, 2008 at 4:45 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
>
>  Anybody know if the following is allowed in D2009?

Oops, as a joke I posted the same message in the Delphi newsgroups.
To my *huge* surprise, unicode identifiers _are_ supported in D2009.
I guess CodeGear is a bit ahead in some areas.  ;-)


> Yes, I even extended to this:
>
> type
>   TMyåClaß?TManiske = class(TObject)
>     a: integer;
>   public
>     property Nãàm: integer read a;
>   end;
> var
>   s: TMyåClaß?TManiske;
> begin
>   s:= TMyåClaß?TManiske.Create;
>   s.a:= 12;
>   showmessage(inttostr(s.Nãàm));
>   s.free;
> end;
>
> just to show that Rimvydas characters also work here.


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


More information about the fpc-devel mailing list