long LastLine (void)
Returns the number of the last line in the buffer. Lines are numbered starting with 0.