Share this page

# Example: lr.eval_int

## Example 1 - Simple Variable Substitution

In the following example, lr.eval_int returns the value of parameter ID_num.

    // Create the parameter
    	lr.save_int(12,"ID_num");
    // Output the parameter value
    	lr.message(" Track Stock : " + lr.eval_int("<ID_num>") );

## Example 2 - Parameterization

In the following example, lr.eval_int substitutes the parameter string STID with appropriate values for each iteration.

    lr.message( "Stock Trader ID Number is " + lr.eval_int("<STID>") );

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