6.1.2 Basic Arithmetic Operations
The macro mode A complies with the four algorithms, the basic math operator. The left bracket and the right bracket also apply to the macro mode A.
The mathematical operation symbols are as follows:
+ |
; plus |
− |
; minus |
× |
; multiply |
/ |
; divide |
( |
; left bracket |
) |
; left bracket |
= |
; Specified |
Examples of arithmetic operations:
#3=4 ;#3 is set as 4
#5=#3+2 ;#5 is set as 4 + 2 = 6
#6=#5+(#3-1) ;#6 is set as 6 +(4 - 1)= 9
The parentheses in the expression must be paired, otherwise errors will occur. For example:
#6=#5/(#7-#8 ;Wrong expression
#6=#5/(#7-#8) ;Correct expression