file_f=io.open("ascii96chrs.txt","wb") for a=32,127,1 do file_f:write(string.char(a)) end file_f:close()