From: Ara.T.Howard@... Date: 2004-10-13T05:34:35+09:00 Subject: Re: {newb} file and puts On Wed, 13 Oct 2004, 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 loc.printf('%s %d', (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? i get > A > > 30 > B > > 23 > C > > 43 > D > > 28 > E > > 47 > and i want > A 30 > B 23 > C 43 > D 28 > E 47 > > Becker > > > kind regards. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | When you do something, you should burn yourself completely, like a good | bonfire, leaving no trace of yourself. --Shunryu Suzuki ===============================================================================