Thanks a lot! ps. My C-code was just a example(obviously bad one). phlip wrote: ... -- Posted via http://www.ruby-forum.com/.