1. string output
- Posted by herb <herb at sunbeach.net> Jul 14, 2005
- 442 views
Can any body help me with one? What code do I use to have asentence "puts (1, )" --printed on the screen having each word on a seperate line.
2. Re: string output
- Posted by "Kat" <gertie at visionsix.com> Jul 14, 2005
- 433 views
On 14 Jul 2005, at 4:08, herb wrote: > > > posted by: herb <herb at sunbeach.net> > > > Can any body help me with one? > > What code do I use to have asentence "puts (1, )" --printed on the screen > having each word on a seperate line. puts(1,"words\none\ntwo\nthree\nfour\nfive\nsix") All the "\n" are newline, and it's ok to press them all together like that in a sequence/string. You can put in spaces if you like, and the spaces will be printed to the screen also. Kat