Share this page

# lr.eval_int

# lr.eval_long

Returns the integer value of a parameter

## C#

    int lr.eval_int ( String param_name );

    long lr.eval_long ( String param_name );

## VB.NET

    Function lr.eval_int ( ByVal param_name As String ) as Integer

    Function lr.eval_long ( ByVal param_name As String ) as Long

String and Parameter Functions

## Arguments

Name | Comments
--- | ---
param_name | The name of the parameter, bracketed with parameter brackets.

The lr.eval_int and lr.eval_long functions return the current long integer value of the parameter param_name. You can use these functions with parameterization to return a different value for each iteration.

These functions are equivalent. The function has two names to preserve backward compatibility.

## Return Values

The value of the parameter. If the value of the parameter cannot be represented as a long integer, returns 0.

## Parameterization

Standard parameterization is not available for this function.

## Example

The following example sends the values of an int and long parameter to the output.

    int i=lr.eval_int("{IntParam}");lr.output_message("IntParam = " + i); long l=lr.eval_long("{LongParam}");lr.output_message("LongParam = "+l);

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