put Statement

Home Scripting Statements put Statement

The put statement sets field or variable values:

put <expression> into <field reference>
put <expression> into <variable reference>

The following are examples for put statements:

put 5 into x
put "hello" into field "Greeting"
put field "Amount" / 100 * field "Percent" into field "Tax"

Note that in the case of variables, you have the alternative to use the more direct assignment, as follows:

x = 5