Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILETOSTR() problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535843
Message ID:
00535853
Views:
9
>I have a situation where FILETOSTR() sometimes fails. THe call is:
>
>FILETOSTR("My text", "MyFile.Txt", .F.)
>
>Any ideas what could cause this to fail?

Craig,

FILETOSTR only takes the name of the file as the argument and returns the file's contents as a string. Are you confusing this with STRTOFILE? STRTOFILE would take the arguments as you've used them in your example.

Scott
Scott King
The Support Source Corporation
Previous
Reply
Map
View

Click here to load this message in the networking platform