sorry, i misunderstood what you were asking. I thought you were asking about any built-in line routines. I have the source code to a c program somewhere. If i can find it, i will post the code for you. If not, sorry.