SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local dictTable = {}
|
| 1 | + | |
| 2 | ||
| 3 | local function dictionary(path) | |
| 4 | - | for line in io.lines(path) do |
| 4 | + | local dictTable = {}
|
| 5 | - | dictTable[line] = true |
| 5 | + | for line in io.lines(path) do |
| 6 | - | print(tostring(line)) |
| 6 | + | dictTable[line] = true |
| 7 | -- print(tostring(line)) | |
| 8 | end | |
| 9 | - | return dictTable |
| 9 | + | return dictTable |
| 10 | end | |
| 11 | ||
| 12 | return dictionary(path) |