@input = gets()
s = "List"
if @input == s
puts "You typed in List" #This code is NEVER reached
list()
else
puts s + " " + @input
end
I'd really appreciate some help. I shouldn't have such a problem in a language like Ruby.

New Topic/Question
Reply



MultiQuote





|