On Mon, 26 Jul 2004 19:59:33 +0900, ts <decoux / moulon.inra.fr> wrote: > >>>>> "F" == Fredrik Jagenheim <jagenheim / gmail.com> writes: > > F> This is basically what I'm trying to do: > > Well, in ruby > [snip solution in ruby] I had to interface with a C-library that took, among other things, an array of bitmaps as input. Otherwise, I would have done it in Ruby, of course. As for the solution, Tim was correct in that rb_iterate wasn't what I neded. The for loop solved the problem I had. Thanks everyone, //Fredrik