View Raw SPL
/* gets the first cursor index position */
getcurpos1(w)
{
        return(curpos(w, 1, 1));
}