Difference between revisions of "Set"
m
no edit summary
imported>JOG m |
imported>JOG m |
||
Line 26: | Line 26: | ||
'''Notes:''' | '''Notes:''' | ||
*The modulos operator "%" is evaluated after multiplication/division but before addition/subtraction: 4*3%2=0 but 4*(3%2)=4 | |||
*A minus right in front of a number or variable acts as "negative"-sign. When you want to do a subtraction, you need at least one space before and behind the minus. This is the only place where you really need a space between arithmetic operators. (For instance: "a-b" will not compile; it needs to be "a - b") | *A minus right in front of a number or variable acts as "negative"-sign. When you want to do a subtraction, you need at least one space before and behind the minus. This is the only place where you really need a space between arithmetic operators. (For instance: "a-b" will not compile; it needs to be "a - b") |