Skip to content

CSRLIN ​


Returns the row position of the cursor

Syntax ​

` declare function Csrlin ( ) as long

`

Usage ​

` result = Csrlin

`

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.

Examples ​

start GeSHi

vb
Print "The cursor is on row:"; CsrLin

end GeSHi

Differences from QB ​

  • None

See also ​

  • Locate
  • Pos

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft