replace:
put quote & it & quote into thisFile
with
put it into thisFile


On Sunday, September 21, 2014 6:03 PM, "[email protected]" 
<[email protected]> wrote:
 


Hello,

Could anyone please explain why the following script does not work?
(It puts into the field the name of the selected file and not the contents of 
the file.

on mouseUp

answer file "Select a file."

put quote & it & quote into thisFile

open file thisFile

read from file thisFile until EOF

put it into field myOutput

close file thisFile

end mouseUp



Thanks,

Larry
_______________________________________________
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
_______________________________________________
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

Reply via email to