Share this page

# lr.save_long

Saves a long value as a parameter.

## JavaScript

    function lr.save_long(  param_name, value  )

## VBScript

    Sub lr.save_long(  param_name, value  )

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
param_name | The parameter in which to save the value
value | An integer or long integer value

The lr.save_long function saves value to parameter param_name. It creates the parameter if it does not exist.

## Return Values

No value returned.

## Parameterization

All input arguments can be parameterized using standard parameterization.

## VBScript Example

In the following example, save_long createsparameter`twenty_two` and eval_long saves the value to a long variable and for outputs the value using output_message.

Copy code

    Dim lVal as long
    lr.save_long "twenty_two", 22
    lVal = lr.eval_long ("<twenty_two>")
    lr.output_message "The value of variable lVal is " _
        + Cstr(lVal)
    lr.output_message "The value of parameter twenty_two is " _
        + Cstr(lr.eval_long ("<twenty_two>"))

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: