Hello, I'm trying to use the Format function to pad a number like so: 01 where the original value is "$1".
I tried to do the following: writeln(Format('%02X', [$1])); writeln(Format('%0:2X', [$1])); writeln(Format('%:2X', [$1])); All of them created the following output: " 1" What am I doing wrong ? Thanks, Ido
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal