Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PADL() weird translation
Message
 
 
À
01/03/2003 15:37:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00759865
Message ID:
00760016
Vues:
19
>>I think it would be overkill to have additional parameter or SET command. In your case, you can always use INT().
>
>Well, the situation has been ok for years. I never had to change anything in there. With VFP 8, I noticed that it acts differently on some situations. So, based on that, an overall setting for me would do it. As, I'd need to make sure that all other calls to PADL() in order functions would succeed as well. For now, I've added a hook in one function that I've detected that acts strange. In that function, I have PADL(). In order to assure that it'll always work, I had to convert the value to INT() before the PADL() but I don't like it. :)

I didn't think about this problem from that POV. You're right, with a lot of existing code new SET command could be helpfull. On other hand, you cannot wait until it'll be implemented anyway. :)
BTW, can you be more specific about situatin where PADL() works differently in VFP7 and VFP8?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform