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.
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 sExample: Output:
Notify: Saving Parameter "ID_num = 12"
Notify: Parameter Substitution: parameter "ID_num" = "12"
Track Stock : 12

