Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Padding a Binary use Space
Message
De
01/12/2004 11:11:39
 
 
À
01/12/2004 10:23:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00966085
Message ID:
00966117
Vues:
8
>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)
>
Why? In a later build (I don't have 1720 installed to compare) the result is as follows:
? PADR(0hAA,5) && expected 0hAA00000000
Result: 0hAA20202020
Isn't this one correct? (0h20 is a space)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform