[fpc-pascal] Format() directives
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.
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'?
>> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal