Advertisement
funnybunnyofdoom

symbolPrint

Nov 28th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. --This program will write the
  2. --ascii symbols and their number
  3. --codes in to a text file
  4.  
  5. file = fs.open('/Symbols.txt','w')
  6.  
  7. for i=0,255,1 do
  8. X = string.char(tonumber(i))
  9. file.write(i..') '..X.."\n")
  10. end
  11.  
  12. file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement