Put something in the file and see what you get. Obviously, it should put empty in the it variable. Also, just to keep the ducks in a row, right after the read, put it into a variable and check the variable. It may be that something else is changing *it* like, oh I don’t know, say a dialog with an OK button?
Bob S On Jun 17, 2015, at 16:17 , Peter Haworth <[email protected]<mailto:[email protected]>> wrote: After issuing the command "read from file tFilepath until EOF", I am getting "OK" in the it variable instead of the file contents. I don;t see this documented in the dictionary so can anyone tell me what this means? This is with LC 6.6.5 on OSX 10.10. The file is empty at the time this error occurs. Pete _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
