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>") );