Working with Text Files 1. Reading In Files Reading a Text File - Knowing the filename: put URL ("File:/Users/example/scores.txt") into field "FileIn" - puts it into a field called "FileIn" or put URL ("File:/Users/example/scores.txt") into x - puts it into a variable called x Reading a Text File - Selecting the file Any type of file:
Only CSV file:
Only Text files:
see the Dictionary for other file types 2. Writing Out Files Writing a Text File - Knowing the filename: put x into URL ("File:/Users/example/scores.txt") or put field "FileIn" into URL ("File:/Users/example/scores.txt") Writing a Text File - Selecting the file name ask file "Save to?" with type "text files|TXT"
see the Dictionary for other more information 3. Working With Text |
How To ... >