This content has been marked as final. Show 3 replies
> openFile(mynewxtra ,the
Remove the quotes around "myFile": you want to refer to the variable myFile,
not the string "myFile", like you did with fileSep.
I hope you have quotes around the strings in the actual code...
> I have one list with the names of various txt files...
> ...and then with fileIO xtra open one file of them.
I use Buddy Web Xtra and it is great for reading and writing lists or text
Instead of all the Lingo, needed for FileIO, you can use:
fileToOpen = the moviePath & "fileName.txt"
fullText = bwReadFile(fileToOpen, "", [ ], [ ] )
fullText now contains the text of your external file. It's that easy.
Director Lecturer / Consultant / Director Enthusiast
Both answers are OK but my choice for the present work is the first because I have a lof of work with fileIO for the next I try with Buddy Web Xtra.