Function ToPos ( Paragraph As Integer, Index As Integer ) As Integer
Convert a paragraph number and a character index inside its paragraph into a position.