From: Logan Capaldo Date: 2006-03-08T03:15:19+09:00 Subject: Re: How to print stuff in RTHML embedded code (equiv to php "echo")?? On Mar 7, 2006, at 1:28 AM, Namor wrote: > hmmm > so means that for my program > > helloworld.rhtml > >

> <%= puts "hello" %> > <%= puts "world" %> > <%= puts "something something" %> >

> > i have to do that? that is obviously way harder to code.. > and if it was in between a loop or something just say for debugging.. > i got to close the loop and then bracket it.. then come back again? > man > there must be an easier way??? > > Not exactly, you do this:

<%= "hello" %> etc...

<%= is roughly analogous to "puts" or "print"