str_num_lines_c

	num_lines.i4.v = str_num_lines_c(text_buffer.i1a.r, length.i4.v,
					 line_length.i4.v)

	This routine counts the number of text lines of a given length
	that are contained in a text buffer.  Lines are broken at space,
	tab, slash (/), or dash (-) characters.  Lines will also end if
	a null character or new line is encountered.

	text_string	text buffer to parse
	length		total number of characters in the text buffer
			(If a value of zero is passed, the length of the
			 buffer will be determined by this routine.)
	line_length	maximum number of characters per line

	This function returns status values as follows:

	CBS_INVARG		invalid line length or buffer length
	otherwise		number of lines of text

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	str_line_info_c, str_extract_line_c, str_get_value_c, strtok,
	str_build_text_block_c

	C/C++ usage:

	char	text_string[512];
	int	status;
	int	length = 0;
	int	line_length = 80;

	status = str_num_lines_c(text_string,length,line_length);