status.i4.v = window_set_scroll_limit_c(window_id.i2.v, num_lines.i4.v)

	This routine allows the programmer to set the maximum number of
	lines in a window's scroll buffer.  This number does not include
	the lines in the visible window.  A call to this function will
	clear the present scroll buffer.  By default, the limit is
	WMNGR_DEFAULT_SCROLL_LINE_LIMIT lines when a window is created.

	window_id	window ID (use WMNGR_BACKGROUND for background window)
	num_lines	maximum number of lines in the scroll buffer
			(If a value of CLIB_DEFAULT_ARG is passed for this
			parameter, the routine will simply return the
			present scroll limit.)

	This function returns ACNET status values as follows:

	CBS_NO_WINDOW		requested window does not exist
	CBS_INVARG		negative number of lines or invalid window ID
	CBS_MEMFAIL		dynamic memory allocation failure
	otherwise		previous scroll limit

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	window_enable_scroll_io(_c), window_disable_scroll_io_c,
	window_enable_scroll_save_c, window_disable_scroll_save_c,
	window_query_scroll(_c), window_total_lines_c,
	window_set_scroll_region_c, window_scroll(_c), window_scroll_page_c,
	window_scroll_to_top_c, window_scroll_to_bottom_c, intro_tv_windows

	C/C++ usage:

	short	window_id;
	int	status;
	int	num_lines = 1000;

	status = window_set_scroll_limit_c(window_id,num_lines);