Example: lr.save_double and lr.eval_double

In the following example, save_double createsparametertwenty_two and eval_double saves the value to a Double variable and outputs the value using output_message.

Dim dVal as Double
lr.save_double "twenty_two", 22
dVal = lr.eval_double ("<twenty_two>")
lr.output_message "The value of variable dVal is " _
    + Cstr(dVal)
lr.output_message "The value of parameter twenty_two is " _
    + Cstr(lr.eval_double ("<twenty_two>"))