cdds_addaxis - add a new axis to a DDS dictionary.

SYNOPSIS

#include "cdds.h"

int cdds_addaxis(dict, num, name);

const char *dict
int num
const char *name

DESCRIPTION

This function is used to add a new axis to the dictionary, "dict". The new axis will have a name of "name" and will be the num'th axis (numbering from 1). The dictionary will be left opened in the "print" mode for inclusion of any axis parameters such as size, delta and orgiin. The name should not conflict with any other axis name. The num value must be between 1 and 1 more than the current rank and it cannot be create any more than RANK_MAX axes.

The function returns a non-zero value if an error is detected, and zero otherwise.

SEE ALSO

      cdds_rmaxis  Remove axis
    

AUTHOR

Jerry Ehlers, BP America (May 2003)