|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

TextFile.ReadToTable

OverviewExamples

table TextFile.ReadToTable ( string Filename )


De s cr ip t ion


Reads the contents of a text file into a table.


P arame t er s


Filename


(string) The full path to the text file.


Re t u r n s


(table) A table indexed by lines in the text file. Each table item contains one line of text from the file. If an error occurs, nil is returned. If the text file is empty, a table with an empty string is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|