Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Index Error
Message
From
22/04/2013 13:50:07
 
 
To
22/04/2013 13:24:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01571265
Message ID:
01571624
Views:
72
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform