Assignment
Add To
Syntax: y += x; Add To( y, x )
Description: Adds a value to a variable or to a list of variables.
JMP Version Added: Before version 14
ex = 1;
ex += 2;
ex;
Assign
Syntax: y = x; Assign( y, x )
Description: Assigns a value to a variable or a list of variables.
JMP Version Added: Before version 14
{ex1, ex2} = {Pi(), 1};
ex1 + ex1;
Divide To
Syntax: y /= x; Divide To( y, x )
Description: Divides a value into a variable or into a list of variables.
JMP Version Added: Before version 14
ex = 1;
ex /= 2;
ex;
Multiply To
Syntax: y *= x; Multiply To( y, x )
Description: Multiplies a value to a variable or to a list of variables.
JMP Version Added: Before version 14
ex = 3;
ex *= 2;
ex;
PostDecrement
Syntax: x--; PostDecrement( x )
Description: Subtracts 1 from a variable or from a list of variables.
JMP Version Added: Before version 14
ex = 1;
ex--;
ex;
PostIncrement
Syntax: x++; PostIncrement( x )
Description: Adds 1 to a variable or to a list of variables.
JMP Version Added: Before version 14
ex = 1;
ex++;
ex;
Subtract To
Syntax: y -= x; Subtract To( y, x )
Description: Subtracts a value from a variable or from a list of variables.
JMP Version Added: Before version 14
ex = 1;
ex -= 2;
ex;