Variable Modify Integer

 

Use these commands to modify or manipulate an integer variable.

 

 

 

Script Editor > Expand Variables Category > Variable Modify Integer

 

 

Add

Add an integer variable to a number or to another integer variable and place the sum into an integer variable.

 

Destination Integer Variable

Choose the variable to receive the results of the addition.

 

Value One /Value Two

Insert either an integer value or an integer variable into these fields. The values are added and saved to the variable selected.

 

 

Subtract

Subtract integers and/or integer variables. The result is placed in the integer variable chosen.

 

Destination Integer Variable

Select the variable to receive the results of the subtraction.

 

Value One /Value Two

Insert either an integer value or an integer variable into these fields. The values are subtracted and saved to the variable selected.

 

 

Multiply

Multiply an integer variable with a number or with another integer variable and place the result into the integer variable selected.

 

Destination Integer Variable

Select the variable to receive the results of the multiplication.

 

Value One /Value Two

Insert either an integer value or an integer variable into these fields. The values are multiplied and saved to the variable selected.

 

 

Divide

Divide an integer variable with a number or with another integer variable or divide a number with an integer variable. The result is placed into the integer variable chosen.

 

Destination Integer Variable

Select the variable to receive the results of the division.

 

Value One /Value Two

Insert either an integer value or an integer variable into these fields. The values are divided and saved to the variable selected.

 

 

Convert to String

This command converts an integer variable to a text variable.

 

Integer Variable

Select the variable to be converted to a text string variable.

 

New Variable

Select the name of the new variable to contain the contents of the integer variable.

 

 

Convert to Decimal

Converts an integer variable to a decimal variable.

 

Integer Variable

Select the variable to be converted to a decimal variable.

 

New Variable

Select the name of the new variable to contain the contents of the integer variable.

 

 

Copy Value

This command copies the value of one integer variable to another integer variable.

 

Destination Integer Variable

Select the variable to be receive the copied information.

 

Variable to Copy

Select the variable to copy its contents to another integer variable.

 

 

Increment

This option increases the value of the selected variable by one. For example, if variable N[1] had an original value of 25, the value would change to 26 after running this command.

 

 

Decrement

This option decreases the value of the selected variable by one. For example, if variable N[1] had an original value of 25, the value would change to 24 after running this command.