Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/csrlin

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

CSRLIN function CSRLIN function ✔ Appearance ✔ Standard ✔ Console Syntax currentLine = CSRLIN Description This function returns the number of the "current" text line (that is, the text line which contains the current pen position) for the current window. The text line at the top of the window is considered Line #0. CSRLIN does not necessarily reflect the number of text lines which have actually been displayed. It is calculated based on the current pen position and the size of the current font. Example WINDOW 1 TEXT _monaco, 16 CLS FOR i = 1 TO 10   PRINT "CSRLIN = "; CSRLIN NEXT FB Lite behavior: When you use the "FB Lite" runtime, CSRLIN switches to the Text Window before executing. The value returned is the actual line number in the edit field and remains accurate even when the field is scrolled. See Also POS WINDOW FUNCTION