Mathematics
This command performs a numerical calculation.
Operand 1
Enter the first operand here. If a variable is used, be sure it represents an integer.
Operand 2
Enter the second operand here. If a variable is used, be sure it represents an integer.
Operation
Choose the type of arithmetic to perform. The following operations are supported with the following operands:
- Operand 1 + Operand 2. =
- Operand 1 - Operand 2. =
- Operand 1 * Operand 2. =
- Operand 1 / Operand 2. =
- Operand 1 % Operand 2. =
- Operand 1 OR Operand 2. =
- Operand 1 AND Operand 2. =
- Operand 1 XOR Operand 2. =
- Operand 1. = Shift Left
- Operand 1. = Shift Right
- Operand 1. = NOT
- Operand 1. = Returns the numerical ASCII character code for the first character of
- = Converts a numerical ASCII character code into an string character.
- Operand 1 sets Constant 1 and Operand 2 sets Constant 2. =
- Operand 1 as the seed. Operand 2 is ignored. = Accepts
- Operand 1 (required) to define a maximum return value and Operand 2 (optional) to define a minimum return value. The default minimum value is 0. The result of this operation is equal to: Seed * Constant 1 + Constant 2. = Use
Return Result in Variable
Type the variable that should hold the outcome of the operation.
Notes
- If an illegal operation is attempted, such as division by zero or string arithmetic, the result variable will hold an empty string.