Categoria: ZIM 4GL Operators

The Original Internet Language

/ (Divide)

Divides one value by another. Syntax [expression1]/expression2 The oblique (or slash, /) is the division operator. It divides the expression on the left by the expression on the right. Parameters expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number Comments Arithmetic operators indicate the…
Leia mais

+ (Add/Positive)

Indicates a positive value (unary +) or adds two values. Syntax [expression1]+expression2 The plus sign (+) adds the expression on the right to the expression on the left. Parameters expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number Comments Arithmetic operators indicate the sign…
Leia mais

^ (Exponent)

Raises one value to the power of another. Syntax expression1 ^ expression2 The circumflex (^) raises the expression on the left to the power of the expression on the right. If the circumflex is not available on your terminal, substitute two asterisks (**). Parameters expression1 a number or expression that evaluates to a number expression2…
Leia mais

– (Subtract/Negative)

– (Subtract/Negative) Indicates a negative value (unary -) or subtracts one value from another. Syntax [expression1] – expression2 The minus sign (-) subtracts the expression on the right from the expression on the left. where expression1 a number or expression that evaluates to a number expression2 a number or expression that evaluates to a number…
Leia mais

pt_BRPortuguese