Next: SDDS_SetColumnFlags
Up: Manual Pages
Previous: SDDS_SetArray
Contents
SDDS_SetColumn
- name:
SDDS_SetColumn
- description:
Sets the values for one data column.
- synopsis: #include "SDDS.h"
long SDDS_SetColumn(SDDS_TABLE *SDDS_table, long mode, void *data, long rows, ...)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- mode: Valid modes are SDDS_SET_BY_INDEX and SDDS_SET_BY_NAME.
- data: Pointer to an array of data. The elements of the array must be of the same type as the column type.
- rows: Number of rows in the column.
- ...: If the mode is SDDS_SET_BY_INDEX it expects an integer argument for the index. If the mode is SDDS_SET_BY_NAME it expects a NULL-terminated character string giving the name of the column.
- return value:
On success, returns 1. On failure, returns 0 and records an error message.
- see also:
Robert Soliday
2006-06-29