Share this page

# lr.saveString

Saves a null-terminated string to a parameter.

String and Parameter Functions

## Syntax

    lr.saveString( paramValue, paramName );

## Arguments

Argument | Comments
--- | ---
paramValue | The value to assign to the parameter.
paramName | The name of the parameter.

The lr.saveString 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.evalString 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.

## Example

Copy code

      lr.saveString( "777", "param" );
      lr.outputMessage( lr.evalString("{param}"));

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: