AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ Put() [9/31]

void Arg::Put ( const char *  name,
const long  slen,
const long  dim,
const char *  data[],
StatusType *const  status 
)
inline

Insert an array of string into a named component of the Arg structure.

The named item is created in the current structure if it does not already exist (array of SDS strings) and the specified value inserted.

This does not convert items like the other Arg routines - if the item already exists it must be at least as long as required and of the same type.

See also
ArgPut1DArrayS()
Parameters
nameThe name of the item within the SDS structure.
slenNumber of items in each string, including null terminator. If array does not already exist, it will be created with this number of characters in each string. If it does exist, it must have at least this number of characters in each string.
dimNumber of elements in array. If array does not already exist, it will be created with this number of elements. If it does exist, it must have at least this number of elements
dataThe data to be inserted.
statusInherited status.