Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr.save_int

lr.save_int

Saves an integer to a parameter

Java Language

int lr.save_int ( int value, String param_name);
Example: lr.save_int String and Parameter Functions Java Syntax

Arguments

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

The lr.save_int function assigns an integer to a parameter. This function is useful in correlating queries. To determine the value of the parameter, use the lr.eval_int function.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure. Note that in many cases, this return value indicates the technical success of the function, and not the result. For example, a function that registers a string to be found in a subsequent step returns LR_PASS to indicate that the registration was successful. This does not indicate that the string was found in the server response.

Parameterization

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