Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I report 'Quiz bugs'?
Message
De
24/11/1999 16:06:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00295038
Message ID:
00295291
Vues:
36
>>The quiz in the UT KB has a few questionable answers, like:
>>
>>What does the TRANSFORM() function do?
>>
>>Converts any variable type expression to any other variable type.
>>Converts any variable type expression to a character type.
>>Converts a character type expression to any other variable type.
>>Formats character or numeric expressions using PICTURE and FUNCTION codes.
>>Strips the PICTURE and FUNCTION (2.x) or Format and InputMask (VFP) codes from a formatted character expression.
>>
>>Also, there were a few that referred to VFP5 as though it did not apply to VFP6, but I am sure that it was meant to differentiate it from VFP3.
>>
>>So who do I tell?
>
>Discuss them here is fine. If there is agreement that there is a problem, we will get it corrected.

As the one who originally submitted that question 2 years ago, I'm curious: What did I get wrong on it? From what I know about FoxPro, the correct answer would be D, "Formats character or numeric expressions using PICTURE and FUNCTION codes." As an example, run the following code:

lnVar = 12345.6789
? TRANSFORM("$$$,$$$.99")

Your result will be $12,345.68

The original question was written before VFP 6 came out, but I just tested it using VFP 6, and it still works fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform