It works! Which is really strange; the same code in another module works, just as you proposed (not that I had doubted that). In the former module I must have copied the declaration to the wrong position.

Thanks a lot! :-)