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

lr_save_string

Saves a null-terminated string to a parameter.

C Language

int lr_save_string( const char *param_value, const char *param_name);
Example: lr_save_string String and Parameter Functions

Java Language

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

Arguments

Name Comments
param_value The value to assign to the parameter.
param_name The name of the parameter. (Case sensitive)

The lr_save_string function assigns the specified null-terminated string to a parameter. This function is useful in correlating queries. To determine the value of the parameter, use the lr_eval_string function.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

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