Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Padding a Binary use Space
Message
 
 
To
01/12/2004 10:23:17
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00966085
Message ID:
00966121
Views:
8
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))   && 0hAA
? ALLTRIM(PADC(0hAA,5))   && 0hAA20202020
>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) && expected 0hAA00000000
>? PADL(CAST(0hAA AS Q),5)
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform