Next: SDDS_VerifyColumnExists
Up: Manual Pages
Previous: SDDS_Terminate
Contents
SDDS_VerifyArrayExists
- name:
SDDS_VerifyArrayExists
- description:
Returns the index of a named array if it exists as the specified data type.
- synopsis: #include "SDDS.h"
long SDDS_VerifyArrayExists(SDDS_TABLE *SDDS_table, long mode, char *name)
long SDDS_VerifyArrayExists(SDDS_TABLE *SDDS_table, long mode, long type, char *name)
- arguments:
- SDDS_table: Address of the SDDS_TABLE structure for the data set.
- mode: Valid modes are FIND_SPECIFIED_TYPE, FIND_ANY_TYPE, FIND_NUMERIC_TYPE, FIND_FLOATING_TYPE, FIND_INTEGER_TYPE
- type: If mode is FIND_SPECIFIED_TYPE it expects an SDDS data type.
- name: Name of the array in question.
- return value:
If the desired array exists it returns the index of the SDDS array. Otherwise it returns -1.
On failure, returns zero and records an error message.
- see also:
Robert Soliday
2006-06-29