thanks, really good, got the code working without eval, nice to know for 
future about the blocks! :-) learning more each day , soon I'll be able 
to write some decent Ruby code!! thanks again
-- 
Posted via http://www.ruby-forum.com/.