csrrow( ) Function

Description:
  The csrrow() function returns the line number where the cursor is located in the current window. The line count starts at zero.  

Syntax:
  retval = csrrow()

Parameters:
  numeric: retval The line number where the cursor is located in the current window.

Platforms:
  Windows, DOS, Internet Active Pages



Example:

	local retval
	retval = csrrow() + 1	// To adjust for being zero based

	println( "The cursor is positioned on line " + retval )

  

(c) 2000-2001 by West Coast Web Adventures, Inc., All Rights Reserved