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

lr_save_int

Saves an integer to a parameter.

C Language

int lr_save_int( int value, const char *param_name);
Example: lr_save_int String and Parameter Functions

Arguments

Name Comments
value The integer value to assign to the parameter.
param_name The name of the parameter.

The lr_save_int function converts an integer to a string and saves the string in a parameter. If the parameter does not exist, it is created.

Return Values

This function returns LR_PASS on success, and a negative value on failure.

Parameterization

You cannot use standard parameterization for any arguments in this function.