2016-10-05 4:32 GMT+02:00 Michalis Kamburelis <michalis.ka...@gmail.com>:

> For example, the call
>
>   Format('%s', [123])
>

I have a small hint (instead of answer). We have in mORMot / NewPascal in
SynCommons module nice function which works perfect in most of cases:

FormatUTF8('%', [123], []); // same string '%' works for both: integer and
string values
FormatUTF8('%', ['123'], []);

Documentation:
http://synopse.info/files/html/api-1.18/SynCommons.html#FORMATUTF8

-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to