Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Index Error
Message
De
22/04/2013 13:50:07
 
 
À
22/04/2013 13:24:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01571265
Message ID:
01571624
Vues:
71
>>It sounds to me like the warning should be more along the lines of: If your
>>application will use different locales, or if you are changing SET CENTURY
>>or SET DATE settings manually, then avoid using DTOC(). Otherwise,
>>DTOC(x,1) will always work just fine.

>
>DTOC(x,1) will always work. It's equivalent to DTOS(). It's only DTOC() without the second parameter that's a bad idea.


Thanks, Tamar. That's another part I didn't get from this thread. I was under the impression that people were saying don't use DTOC() as a function at all, but always DTOS(). It wasn't making sense.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform