Slin, thanks for the adaption of the code to Lite-C.
(my code has insertions with tabs, but the forumsoftware somehow always removes them)