Hi Fabio,
I've to agree with you on this one. It makes very inconsitent implementation of Binary data in VFP9.
? ALLTRIM(PADC(0hAA,5, 0h00))
? ALLTRIM(PADC(0hAA,5))
>Previous issue Thread #
966025>
>Bug/Issue : 21 of 36
>
>TITLE: BUG: Padding a Binary use Space
>
>VERSION: 09.00.0000.1720
>
>EXPECTED: PAD?() FUNCTIONS with a binary argument have to use 0h00 like padding default value
>
>OBSERVED: PAD?() use space 0h20 with a binary argument
>
>REPRO
>
>? PADR(0hAA,5)
>? PADL(CAST(0hAA AS Q),5)
>
--sb--