From: Matthew Moss Date: 2008-11-26T06:35:41+09:00 Subject: Re: [QUIZ] Befunge (#184) > > I guess you have some small typos here >> when ?. >> puts pop > I guess this has to go Oops, yeah, handling . twice. > >> when ?. >> print pop > shouldn't there be a space printed too? No. The following code (I think) outputs a null-terminated string (view with monospace font): 0"elloH"#v _@ >.^ You wouldn't want spaces between every character. > >> when ?~ >> print "chr?> " >> push gets[0] # Ruby 1.8, maybe not 1.9? > x= gets > push( x.bytes.first rescue x[0] ) >> Nice, thanks.