From: Bill Kiselewsky Date: 2006-03-23T05:08:25+09:00 Subject: Re: FreeRide - How to Input Data Forgot to mention the platform being Windows XP. Well, after hours of messing around I found that outside of FreeRIDE I could execute interactively by double clicking the *.rb file in explorer. This opened a c:\ruby\bin\ruby.ex window which allowed me to execute an interactive Ruby program. Program: puts "Please enter your first name ..." fname = gets.chomp puts "Please enter your middle name ..." mname = gets.chomp puts "Please enter your last name ..." lname = gets.chomp chars = fname.length + mname.length + lname.length puts fname + ' ' + mname + ' ' + lname + ' there are ' + chars.to_s + ' characters in your full name!' gets Interactive: Please enter your first name ... William Please enter your middle name ... Anthony Please enter your last name ... Kiselewsky William Anthony Kiselewsky there are 24 characters in your full name! Take care, Bill K. -- Posted via http://www.ruby-forum.com/.