CSRLIN
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgCsrlin
- Last revised: 2022-03-25
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:"; CsrLinend GeSHi
Differences from QB
- None
See also
LocatePos
Back to DocToc