Utility Functions and C Language Reference > Utility Functions: Scripting Languages (lr.) > Alphabetical Listing > lr.save_string

lr.save_string

Saves a null-terminated string to a parameter.

JavaScript

function lr.save_string(  param_value, param_name  )

VBScript

Function lr.save_string(  param_name, param_value  )
Example: lr.save_string String and Parameter Functions

Arguments

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

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

Standard parameterization is not available for this function.