Next: SDDS_DefineSimpleParameter
Up: Manual Pages
Previous: SDDS_DefineSimpleColumn
Contents
SDDS_DefineSimpleColumns
- name:
SDDS_DefineSimpleColumns
- description:
Processes a definition of multiple data columns.
- synopsis: #include "SDDS.h"
long SDDS_DefineColumns(SDDS_TABLE *SDDS_table, long number, char **name, char **units, long type)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- number: The number of columns to be defined.
- name: An array of NULL-terminated character strings giving the names of the columns. Must be supplied.
- units: An array of NULL-terminated character strings giving the units of the columns. If none is desired, pass NULL.
- type: An integer value specifying the data type of the columns. Must be one of the following constants, defined in SDDS.h: SDDS_DOUBLE, SDDS_FLOAT, SDDS_LONG, SDDS_SHORT, SDDS_CHARACTER, or SDDS_STRING.
- return value:
Returns 1 on success. On failure, returns 0 and records an error message.
- see also:
Robert Soliday
2006-06-29