This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start [2021/05/01 21:43] nick ↷ Links adapted because of a move operation |
dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start [2021/06/09 14:27] (current) nick ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 2.2.3 Operators ====== | + | ====== 3.3 Operators ====== |
| [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] | [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] | ||
| ===== MULTI_CHARACTER_OPERATORS ====== | ===== MULTI_CHARACTER_OPERATORS ====== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator| Return to Top]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start| Return to Top]] |
| ==== ADDITION_ASSIGNMENMT ==== | ==== ADDITION_ASSIGNMENMT ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The addition arithmetic operator '+' for numeric values or the concatenation operator for text strings. | The addition arithmetic operator '+' for numeric values or the concatenation operator for text strings. | ||
| Line 14: | Line 14: | ||
| ==== GREATER_THAN_OR_EQUAL_TO ==== | ==== GREATER_THAN_OR_EQUAL_TO ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The greater-than-or-equal-to comparison operator '+='. | The greater-than-or-equal-to comparison operator '+='. | ||
| Line 23: | Line 23: | ||
| ==== LESS_THAN_OR_EQUAL_TO ==== | ==== LESS_THAN_OR_EQUAL_TO ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The less-than-or-equal-to comparison operator '<'. | The less-than-or-equal-to comparison operator '<'. | ||
| Line 32: | Line 32: | ||
| ==== NOT_EQUAL_TO ==== | ==== NOT_EQUAL_TO ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The not-equal-to comparison operator '!=' or '<>'. | The not-equal-to comparison operator '!=' or '<>'. | ||
| Line 41: | Line 41: | ||
| ==== SHIFT_LEFT ==== | ==== SHIFT_LEFT ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The bitwise shift-left operator '<<'. | The bitwise shift-left operator '<<'. | ||
| Line 49: | Line 49: | ||
| ==== SHIFT_RIGHT ==== | ==== SHIFT_RIGHT ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The bitwise shift-right operator '<<'. | The bitwise shift-right operator '<<'. | ||
| Line 58: | Line 58: | ||
| ==== SUBTRACTION_ASSIGNMENMT ==== | ==== SUBTRACTION_ASSIGNMENMT ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The subtraction arithmetic operator '-=' for numeric values. | The subtraction arithmetic operator '-=' for numeric values. | ||
| Line 67: | Line 67: | ||
| ==== Inclusive List ==== | ==== Inclusive List ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#multi_character_operators| Return to MULTI_CHARACTER_OPERATORS]] |
| The following is an inclusive list of the MULTI_CHARACTER_OPERATORS:<code> | The following is an inclusive list of the MULTI_CHARACTER_OPERATORS:<code> | ||
| Line 80: | Line 80: | ||
| ===== SINGLE_CHARACTER_OPERATORS ===== | ===== SINGLE_CHARACTER_OPERATORS ===== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator| Return to Top]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start| Return to Top]] |
| ==== ADDITION ==== | ==== ADDITION ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The addition arithmetic operator '+' for numeric values or the concatenation operator for text strings. | The addition arithmetic operator '+' for numeric values or the concatenation operator for text strings. | ||
| Line 92: | Line 92: | ||
| ==== DIVISION ==== | ==== DIVISION ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The addition division operator '/' for numeric values. | The addition division operator '/' for numeric values. | ||
| Line 100: | Line 100: | ||
| </code> | </code> | ||
| ==== GREATER_THAN ==== | ==== GREATER_THAN ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The great-than comparison operator '>' for numeric values. | The great-than comparison operator '>' for numeric values. | ||
| Line 108: | Line 108: | ||
| </code> | </code> | ||
| ==== LESS_THAN ==== | ==== LESS_THAN ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The less-than comparison operator '<' for numeric values. | The less-than comparison operator '<' for numeric values. | ||
| Line 116: | Line 116: | ||
| </code> | </code> | ||
| ==== MODULO ==== | ==== MODULO ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The modulo arithmetic operator '%' for numeric values. | The modulo arithmetic operator '%' for numeric values. | ||
| Line 124: | Line 124: | ||
| </code> | </code> | ||
| ==== MULTIPLICATION ==== | ==== MULTIPLICATION ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The multiplication division operator '/' for numeric values. | The multiplication division operator '/' for numeric values. | ||
| Line 133: | Line 133: | ||
| ==== TO_THE_POWER ==== | ==== TO_THE_POWER ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The exponential operator '^' for numeric values. | The exponential operator '^' for numeric values. | ||
| Line 142: | Line 142: | ||
| ==== SUBTRACTION ==== | ==== SUBTRACTION ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |
| The subtraction arithmetic operator '+' for numeric values | The subtraction arithmetic operator '+' for numeric values | ||
| Line 151: | Line 151: | ||
| ==== Inclusive List ==== | ==== Inclusive List ==== | ||
| - | [[dido:public:s_cli:05_contents:01_prt:03_langconst:operator#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] | + | [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] |