From: smc smc Date: 2007-10-10T09:04:56+09:00 Subject: reading files ------=_Part_2807_15635890.1191974696337 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline this is just a very basic example but how would you make it so that a user may put their name (or some other info) into a file and then the program reads it and sets it as a variable? so like: def say_hi(who) result = "hello " + who return result end puts say_hi(person_name) -- Stefan ------=_Part_2807_15635890.1191974696337--