Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip-o-the-day STRTOFILE() FILETOSTR()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00122710
Message ID:
00122711
Views:
35
Cool! Are string variables limited to 255 characters in VFP6 as they have been in previous versions?

>Folks,
>
>Have you ever needed to write a character string to a file, or read a file into a character string. Perhaps you used a memo field to hanlde the requirement. In VFP6 you can use the STRTOFILE() function to write a character string to a file, or append it to one. The FILETOSTR() function reads a file and stores the contents into a string variable.
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform