make_delimited_file_c

	status.i4.v = make_delimited_file_c(file_name.i1a.r, file_type.i4.v,
					    delimiter.i4.v, options.u4.v,
					    num_columns.i4.v,
					    column_formats.sa.r,
					    column_names.i1pa.r, num_rows.i4a.r,
					    data_flags.i4pa.r,
					    column_1_data.g.v
						    .
						    .
						    .
					    [,column_n_data.g.v])

	This program makes a delimited file from caller supplied data
	for use by commercial programs.

	file_name	null terminated file name with or without extension
			(If the extension is not supplied, this routine
			 will add an appropriate one.  Also, if the path
			 is not supplied, a default path will be used.)
	file_type	type of file to produce
			(FILE_TYPE_EXCEL -> Excel file,
			 FILE_TYPE_CSV -> comma separated value file,
			 FILE_TYPE_TSV -> tab separated value file,
			 FILE_TYPE_CTSV -> comma and tab separated value file)
	delimiter	delimiter character
	options		file options
			(FILE_OPT_NONE -> no options selected,
			 FILE_OPT_TRIM -> trim leading and trailing white space
					  from data fields)
	num_columns	number of columns (max is 32)
	column_formats	array of column format information
			(array of structures of type DELIMITED_FILE_FORMAT_DATA)
	column_names	array of pointers to null terminated column names
			(A value of NULL can be passed for this argument.)
	num_rows	array of number of rows of data per column
			(If the first value is negative, the absolute value of
			 this argument is used as the number of rows for
			 all columns.)
	data_flags	array of pointers to arrays of data flags
			(A value of TRUE indicates that the corresponding
			 column value should be output.  A value of FALSE
			 indicates that that field should be left blank.)
			(A value of NULL can be passed for this argument.)
	column_1_data	pointer to array of column 1 data
	[column_n_data]	pointer to array of column n data

	This function returns ACNET status values as follows:

	OK			success
	CLIB_INSUFFICIENT_ARGS	not enough arguments
	CLIB_NOTYET		unsupported delimiter character
	CLIB_INVARG		invalid number of columns or rows
	CLIB_NOTOPN		failed in creating the file
	CLIB_NOTENB		writes not allowed on this console

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, clib_h, acnet_errors_h

	Related functions:

	make_delimited_file_ext_c, make_columnar_file_c,
	add_delimited_file_header_c, numeric_to_ascii_c,
	clib_sprintf

	C/C++ usage:

	static const char	file_name[] = "myfile";
	static char	*column_names[NUM_COLUMNS] =
	{"Column 1", "Column 2"};
	static const short	column_2_data[NUM_ROWS] = {1, 2, 3};
	int	status;
	int	file_type = FILE_TYPE_EXCEL;
	int	delimiter = '\t';
	int	num_columns = NUM_COLUMNS;
	int	num_rows = -NUM_ROWS;
	int	**data_flags = (int **) NULL;
	static const int	column_1_data[NUM_ROWS] = {27235, 26472, 9203};
	unsigned int	options = FILE_OPT_NONE;
	static const DELIMITED_FILE_FORMAT_DATA	column_formats[NUM_COLUMNS] =
	{{CNV_DEVICE, 0}, {CNV_SHORT, 0}};

	status = make_delimited_file_c(file_name,file_type,delimiter,options,
				       num_columns,column_formats,column_names,
				       &num_rows,data_flags,
				       (void *) column_1_data,
				       (void *) column_2_data);