Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 52: | Line 52: | ||
| '''<big>%</big>''' || <big>modulus</big> || Binary, integer remainder after division<br/>Example: #{months} '''<big>%</big>''' 12 | | '''<big>%</big>''' || <big>modulus</big> || Binary, integer remainder after division<br/>Example: #{months} '''<big>%</big>''' 12 | ||
|- | |- | ||
| '''<big>==</big>'''<br/>'''<big>!=</big>'''<br/>'''<big><</big>'''<br/>'''<big><=</big>'''<br/>'''<big>></big>'''<br/>'''<big>>=</big>''' || <big>equal<br/>not equal<br/>less<br/>less or equal<br/>greater<br/>greater or equal</big> || Binary, for numbers and strings<br/>Example: if(#{count} '''<big><=</big>''' #{max}, #{count}, #{max}) | | '''<big>==</big>'''<br/>'''<big>!=</big>'''<br/>'''<big><</big>'''<br/>'''<big><=</big>'''<br/>'''<big>></big>'''<br/>'''<big>>=</big>''' || <big>equal<br/>not equal<br/>less<br/>less or equal<br/>greater<br/>greater or equal</big> || Binary, for numbers and strings<br/>Example: if( #{count} '''<big><=</big>''' #{max} , #{count} , #{max} ) | ||
|- | |- | ||
| '''<big>&&</big>'''<br/>'''<big>!!</big>''' || <big>and<br/>or</big> || Binary, for TRUE and FALSE (Boolean) | | '''<big>&&</big>'''<br/>'''<big>!!</big>''' || <big>and<br/>or</big> || Binary, for TRUE and FALSE (Boolean)<br/>Example: if( #{Done} '''<big>!!</big>''' ( #{Able} '''<big>&&</big>''' #{Trying} ) , 'Raise' , 'No raise' ) | ||
|- | |- | ||
| '''<big>!</big>''' || <big>not</big> || Unary, for TRUE or FALSE (Boolean) | | '''<big>!</big>''' || <big>not</big> || Unary, for TRUE or FALSE (Boolean) |