Ahhhh! Thank you guys. Now I see clearer. Jesus got it right indeed; I wanted to call the function from the outside - on the command line. What I didn't understand in Ruby is that the call of the functions were indeed to be written as part of the script ! OKAY.... Makes sense. TY very much. -- Posted via http://www.ruby-forum.com/.