From: Julian Fondren Date: 1998-12-17T10:31:50-06:00 Subject: [ruby-talk:00120] finished simple script Greetings, If anyone is interested, here is the finished script (which was created to work _exactly_ as a c++ tutorial program I made ages ago ;-) #!/usr/bin/env/ruby print "Input two numbers to multiply together: \n" ans1, ans2 = STDIN.gets.chomp.scan(/\d+/).collect { |x| x.to_i } while !ans1 if !ans1 ans1, ans2 = STDIN.gets.to_i, STDIN.gets.to_i end end while !ans2 if !ans2 ans2 = STDIN.gets.to_i end end curiously, ``.'' is translated to an integer as ``32'' cya,