Help Center
Help CenterFreeBASIC

CsrLinfunction

Returns the row position of the cursor

Console Functionsfunctiondocumented

Syntax

Declare Function CsrLin ( ) As Long

Return value


An Long specifying the current row of the cursor.

Description


Returns the current row the cursor is on (i.e. the "cursor line"). The topmost row is number 1.

Remarks

Usage


result = CsrLin

Differences from QB


  • None

See also


Example


Print "The cursor is on row:"; CsrLin


Reference

  • Documented in KeyPgCsrlin.html