Utility Functions and C Language Reference > Utility Functions: C Language (lr_) > Alphabetical Listing > lr_paramarr_random

lr_paramarr_random

Returns the value of the parameter at a random location in a parameter array

C Language

char *lr_paramarr_random( const char * paramArrayName);
Example: lr_paramarr_random Parameter Functions

Arguments

Name Comments
paramArrayName The name of the parameter array.

lr_paramarr_random returns a string containing the value of the parameter in a parameter array. The value is returned from the parameter at a position chosen randomly.

Return Values

A pointer to a string buffer containing the value. If the parameter array is empty or does not exist, returns NULL.

Parameterization

Standard parameterization is not available for this function.

Concept Link IconSee Also