Thanks a lot Henrik, it works fine.

The only problem I got is that HSERIN hangs my loop...