Next: SDDS_DefineSimpleParameters
Up: Manual Pages
Previous: SDDS_DefineSimpleColumns
Contents
SDDS_DefineSimpleParameter
- name:
SDDS_DefineSimpleParameter
- description:
Processes a definition of a data parameter.
- synopsis: #include "SDDS.h"
long SDDS_DefineSimpleParameter(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 parameter. Must be supplied.
- units: A NULL-terminated character string giving the units of the parameter. If none is desired, pass NULL.
- type: An integer value specifying the data type of the parameter. 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