Next: SDDS_DefineSimpleColumns
Up: Manual Pages
Previous: SDDS_DefineParameter1
Contents
SDDS_DefineSimpleColumn
- name:
SDDS_DefineSimpleColumn
- description:
Processes a definition of a data column.
- synopsis: #include "SDDS.h"
long SDDS_DefineSimpleColumn(SDDS_TABLE *SDDS_table, char *name, char *units, long type)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- name: A NULL-terminated character string giving the name of the column. Must be supplied.
- units: A NULL-terminated character string giving the units of the column. If none is desired, pass NULL.
- type: An integer value specifying the data type of the column. 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