Advertisement
alestane

Dictionary loader (loop)

Jan 17th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. local path = system.pathForFile("wordlist.txt",system.ResourceDirectory)
  2. for line in io.lines(path) do
  3.     dictTable[line] = true
  4.     print(tostring(line))
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement