[fpc-pascal] Format() directives

Andrew Pennebaker andrew.pennebaker at gmail.com
Fri Oct 21 03:33:18 CEST 2011

Correct. But some systems expect hex input in lowercase, and some expect it
in uppercase. It would be nice if Format('%x', [s]) and Format('%X', [s])
allowed this kind of customization.

For now, AnsiLowerCase(Format('%X', [s]) is a workaround.


Andrew Pennebaker

On Thu, Oct 20, 2011 at 8:28 PM, waldo kitty <wkitty42 at windstream.net>wrote:

> On 10/20/2011 17:47, Andrew Pennebaker wrote:
>> In the future, could Format respect the difference between '%x' and '%X'?
>> It's
>> useful to use the former for lowercase hexadecimal.
> please forgive the stoopid question but, is there any real difference? in
> hex, f00 is the same as F00, isn't it??
> ______________________________**_________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.**org<fpc-pascal at lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111020/e0fbeed9/attachment.html>

More information about the fpc-pascal mailing list