Esta é uma tradução automática. O post original está disponível em
Inglês .
Operadores
| Operador | Descrição | Exemplo |
|---|
| = | Definir valor | myIntegerValue = 10; |
| == | igual | thisIsTrue = (‘A’ == ‘A’); |
| ∼= | não igual | thisIsTrue = (‘A’ ~= ‘B’); |
| < | mais pequeno | thisIsTrue = 2 < 3; |
| <= | menor ou igual | thisIsTrue = 2 <= 3; |
| > | maior | thisIsTrue = 3 > 2; |
| >= | maior ou igual | thisIsTrue = 3 >= 2; |
| not | NOT lógico | thisIsTrue = not false; |
| and | lógico AND | thisIsTrue = true and (not false); |
| or | OR lógico | thisIsTrue = true or false; |
| .. | Adicionar texto | NewText = Variable1 … ‘ é adicionado a ‘ … Variável 2; |