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.<br><br>For now, AnsiLowerCase(Format('%X', [s]) is a workaround.<br clear="all">
<div><br></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 8:28 PM, waldo kitty <span dir="ltr"><<a href="mailto:wkitty42@windstream.net">wkitty42@windstream.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 10/20/2011 17:47, Andrew Pennebaker wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In the future, could Format respect the difference between '%x' and '%X'? It's<br>
useful to use the former for lowercase hexadecimal.<br>
</blockquote>
<br></div>
please forgive the stoopid question but, is there any real difference? in hex, f00 is the same as F00, isn't it??<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br>