Carlos Delmar wrote: > thanks a lot, now it works: http://rafb.net/paste/results/8FsA6E62.html > > still I don't really understand what the ouput variable does. And why > simply removing the output statements does not work: > http://rafb.net/paste/results/hjON3o64.html > > :/? "output" is just a string variable with a confusing name, you could call it anything you want. It just holds the output until you are ready to return. -- Posted via http://www.ruby-forum.com/.