Folks,
VFP6 has two new functions FileToStr() adn StrToFile(). The first, FileToStr() reads a file passed and srgument into a memory variable.
lcString = FileToStr("MyFile.txt")
The second reads a string variable and writes it to a file;
lcString = RELICATE("Z",1000)
StrToFile(lcString,"MyFile.TXT", .F.)
the third argument is T or F as to whether the string should be added to exiting contents of the file.