It is probably called different in ruby, but what I want to achive is: a1=10 r= ?('a' + '1') # ? is whatever, r should have value 10 by TheR -- Posted via http://www.ruby-forum.com/.