Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = {...}
- tArgs[1]="fdraw"
- -- Open an existing file in read ("r") mode.
- local file, errorMsg = io.open( fdraw, "r" )
- if errorMsg ~= nil then
- print( "Call to io.open failed: " .. errorMsg .. "\n" )
- end
- for line in file:lines() do
- print( line )
- end
- file:close()
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement