1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
HomeDir = 'C:/my path to the file/ test = read_file(HomeDir..'test.txt') msg(test) function read_file(path) 	local con = 0 	local file = io.open(path, "rb") 	if not file then msg('©255100100Internal error: Could not read "'..path..'"') return con end 	con = file:read("*all") 	file:close() 	return con end