ToLine

FUNCTION ToLine ( Pos AS Integer ) AS Integer

Converts a cursor position into a line number.