"Eric Pouech" <eric.pouech at wanadoo.fr> wrote: > something like this would do Of course your patch works too. But I thought that you have something more sophisticated in mind. Nevertheless, Eric, since you are the author of that code I leave the decision what approach is better to you. -- Dmitry.