Hi,

There is no file quote & it & quote, but there is a file it. Quotes are used to define a string in a script. If you put quotes in a variable, they become part of that string. The following script will work:

on mouseUp
  answer file "Select a file."
  put it into thisFile
  open file thisFile
  read from file thisFile until EOF
  put it into field myOutput
  close file thisFile
end mouseUp

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 9/22/2014 00:02, la...@significantplanet.org wrote:
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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to