Is it possible to read a text-file (example:"c:\nl.txt") into one string? And if yes, then how?
Printable View
Is it possible to read a text-file (example:"c:\nl.txt") into one string? And if yes, then how?
Use the INPUT function
Input(Number_of_Characters, [#]filenumber)
ie....
Code:Open "c:\myfile.txt" for input as #1
Buffer = Input (FileLen("c:\myfile.txt"),#1)
Close #1
DocZaf
{;->