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. Cheers, Andrew Pennebaker www.yellosoft.us On Thu, Oct 20, 2011 at 8:28 PM, waldo kitty <wkitt...@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@lists.freepascal.**org<fpc-pascal@lists.freepascal.org> > http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal> >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal