====== 3.3 Operators ====== [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] ===== MULTI_CHARACTER_OPERATORS ====== [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start| Return to Top]] ==== ADDITION_ASSIGNMENMT ==== [[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. ADDITION_ASSIGNMENMT ::= "(\+\=)" ==== GREATER_THAN_OR_EQUAL_TO ==== [[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 '+='. GREATER_THAN_OR_EQUAL_TO ::= "(\>\=)" ==== LESS_THAN_OR_EQUAL_TO ==== [[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 '<'. LESS_THAN_OR_EQUAL_TO ::= "(\<\=)" ==== NOT_EQUAL_TO ==== [[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 '<>'. NOT_EQUAL_TO ::= "(\!\=)(|\<\>)" ==== SHIFT_LEFT ==== [[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 '<<'. SHIFT_LEFT ::= "(\<\<)" ==== SHIFT_RIGHT ==== [[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 '<<'. SHIFT_RIGHT ::= "(\>\>)" ==== SUBTRACTION_ASSIGNMENMT ==== [[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. SUBTRACTION_ASSIGNMENMT ::= "(\-\=)" ==== Inclusive List ==== [[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: MULTI_CHARACTER_OPERATORS ::= ADDITION_ASSIGNMENMT | GREATER_THAN_OR_EQUAL_TO | LESS_THAN_OR_EQUAL_TO | NOT_EQUAL_TO | SHIFT_LEFT | SHIFT_RIGHT | SUBTRACTION_ASSIGNMENMT ===== SINGLE_CHARACTER_OPERATORS ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start| Return to Top]] ==== ADDITION ==== [[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. ADDITION ::= "(\+)" ==== DIVISION ==== [[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. DIVISION ::= "(\/)" ==== GREATER_THAN ==== [[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. GREATER_THAN::= "(\<)" ==== LESS_THAN ==== [[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. LESS_THAN::= "(\<)" ==== MODULO ==== [[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. MODULO ::= "(\%)" ==== MULTIPLICATION ==== [[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. MULTIPLICATION ::= "(\*)" ==== TO_THE_POWER ==== [[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. TO_THE_POWER ::= "(\^)" ==== SUBTRACTION ==== [[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 SUBTRACTION ::= "(\-)" ==== Inclusive List ==== [[dido:public:s_cli:05_contents:01_prt:03_langconst:03_operator:start#single_character_operators| Return to SINGLE_CHARACTER_OPERATORS]] The following are the Single Characters MULTI_CHARACTER_OPERATORS ::= ADDITION | DIVISION | GREATER_THAN | LESS_THAN | MODULO | MULTIPLICATION | TO_THE_POWER | SUBTRACTION ::= "[\(\)\[\]\{\}\%\/\*\+\-\<\>\=\:\&\|\^]" /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- /* To add a discussion page to this page, comment out the line that says ~~DISCUSSION:off~~ */ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~