[Lazarus] Ord of a UTF8 char

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Mar 27 15:35:31 CET 2010


On Sat, 27 Mar 2010 02:05:35 -0300
Antônio <antoniog12345 at gmail.com> wrote:

> Ord('a') makes sense to the compiler, Ord('á') does not. Why?

Because 'á' is a string - a multibyte character.

I'm curious, why do you need that?


Mattias




More information about the Lazarus mailing list