Reid Thompson wrote: > On Sat, May 29, 2010 at 03:29:15AM +0900, Ant Walliams wrote: >> Hi there, >> puts 'What is your favourite number?' >> number = gets.chomp >> number+=1 >> puts 'Do you not think' + number + 'is a better number?' > puts 'Do you not think' + number.to_s + 'is a better number?' Thank for the reply but I am still getting the same error even after making your changes. Any ideas? Thanks Ant -- Posted via http://www.ruby-forum.com/.