> 1. You can make the function you return a closure including > the userdata information. Right on. That's exactly what I needed. Now I also understand the reason for cclosures. Thanks Daniel and lhf for the various solutions! Falko