Share this page

# lr.eval_int

Returns the integer value of a parameter

## JavaScript

    function lr.eval_int (  name  )

## VBScript

    Function lr.eval_int (  name  )

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
name | The name of the parameter.

The lr.eval_int function returns the current integer value of the parameter, name. You can use this function with parameterization to return a different value for each iteration.

## Return Values

Returns the value of the specified string. On failure, returns NULL.

## Parameterization

Standard parameterization is not available for this function.

## VBScript Example

This example shows the use of lr.eval_int to output the value of a parameter that was created with lr.save_int.

Copy code

    dim s as String
    ' Create the parameter
    lr.save_int 12,"ID_num"
    ' Output the parameter value
    s= " Track Stock : " + Cstr(lr.eval_int("<ID_num>"))
    lr.message s

    Example: Output:
    Notify: Saving Parameter "ID_num = 12"
    Notify: Parameter Substitution: parameter "ID_num" = "12"
    Track Stock : 12

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: