From: James Edward Gray II Date: 2004-10-13T04:52:57+09:00 Subject: Re: {newb} file and puts On Oct 12, 2004, at 2:45 PM, STEPHEN BECKER I V wrote: > f="z:\t.txt" > loc = File.open(f, "w+") > loc.puts((i+65).chr,' ',a[i]) if a[i]>0 > > > Nevermind what it is writing, How do i keep the (i+65).chr and a[i] on > the same line in the file? Use print() instead of puts() and insert \n characters as needed. James Edward Gray II