window_entry_to_row_c

	row.i4.v = window_entry_to_row_c(window_id.i2.v, entry.i4.v
					 [,start.i4.v] [,scroll_offset.i4.v])

	This routine allows the programmer to calculate the proper row
	for window I/O in a scrolling window.  It converts from the user's
	entry number in memory to the corresponding window row.

	window_id	ID of desired window
	entry		user's entry number
	[start]		first entry number (default is zero)
	[scroll_offset]	window scroll offset
			(CLIB_DEFAULT_ARG -> use window's current scroll offset,
			 <0 -> use window's current scroll offset,
			 otherwise -> use passed scroll offset)
			(default is CLIB_DEFAULT_ARG)

	This function returns status values as follows:

	CBS_INVARG		invalid window ID or invalid entry
	CBS_NO_WINDOW		window doesn't exist
	otherwise		corresponding window row

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	window_row_to_entry_c, window_current_row_c,
	window_is_in_scroll_buffer_c, window_next_scroll_row_c,
	window_scroll(_c), window_tvm(_c), window_tvmx(_c),
	window_physical_column_c, window_virtual_column_c,
	window_hscroll_c, window_read_text_c, window_read_color_text_c,
	window_display_value(_c)

	C/C++ usage:

	short	window_id;
	int	row;
	int	entry = 5;
	int	start = 0;
	int	scroll_offset = (int) CLIB_DEFAULT_ARG;

	row = window_entry_to_row_c(window_id,entry,start,scroll_offset);