>thank you jos and hilmar. i was thinking to do it like that, but wanted see first if i am blind and just couldn't see the obvious.
>:-)
>
>thanks
The obvious for me was: "I think I remember such a function exists: ratc()". But the "c" in ratc() refers to something quite different than the "c" in atc(), and indeed, the function doesn't work the way you want.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)