Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = { ... } --get argument
- print (tArgs[1])
- local dump = {}
- local file = fs.open(tArgs[1],"r") -- open file
- local lines = file.readLine()
- local data = {} -- data file
- for lines in file.readLine do
- table.insert(dump,lines)
- end
- -- print file dump
- for i = 1,#dump do
- print(dump[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement