From: Vikash Kumar Date: 2006-12-22T15:01:12+09:00 Subject: Re: storing values in variables Gavin Kistner wrote: > Vikash Kumar wrote: >> I want to just store these values in local variables, any help will be >> appreciated. > > I would like to try to help, but I think I need more information. > Please answer the rest of my questions. > > For what it's worth, dynamically creating local variables (with > script-derived names) is slightly harder than dynamically creating > instance variables or hash entries. The wording of your last answer > makes me wonder if you thought that asking for local variables was the > easiest way; would your solution be just as good if it used instance > variables or hash entries instead of local variables? Storing those values in local variables will be fine, any local variables, a = 65, l = 58, m = 89.23 -- Posted via http://www.ruby-forum.com/.