Returns the value of the parameter at a specified location in a parameter array.

C Language

char * lr_paramarr_idx( const char * paramArrayName, unsigned int index);
Example: lr_paramarr_idx and lr_paramarr_lenParameter Functions


paramArrayNameThe name of the parameter array from which to return the value.
indexThe one-based position of the parameter in the array.

lr_paramarr_idx returns a string containing the value of the parameter at the specified position in a parameter array. If the parameter does not exist, the return value is the concatenation of "{", paramArrayName, "_", index, and "}", for example, "{myParam_4}".

Return Values

A string buffer containing the value. On error, returns NULL.


Standard parameterization is not available for this function.

Concept Link IconSee Also