Commands are provided by the run support library for users to use in programs, and they are divided into many classes. The last parameter of some commands can be expanded, such as "addition", and its "addition" parameter can be expanded unlimitedly to support continuous addition. After these commands are entered into the program, a right double arrow will be displayed as a flag in the header of the edit window. Some parameters in the command may also be omitted, that is, parameter data may not be provided when invoked. For details, please refer to the Support Library Manual.
The following lists all commands with operators and their operator operations priority. The smaller the value, the higher the priority. Commands with high priority will be executed first when calculating expressions, and commands with the same priority will be executed in order:
Command name | Priority | Chinese Operating Symbols | English Operating Symbols |
burden | 1 | - | - |
Multiply | 2 | × | * |
Decomposition | 2 | ÷ | / |
Delete | 3 | \ | \ |
Find the remainder | 4 | % | % or Mod |
Add up | 5 | + | + |
Subtraction | 5 | - | - |
Not equal to | 6 | ≠ | <> or != |
equal | 6 | = | = or == |
Less than | 6 | < | < |
Greater than | 6 | > | > |
Less than or equal to | 6 | ≤ | <= |
Greater than or equal to | 6 | ≥ | >= |
Approximately equal to | 6 | ≈ | ?= |
and | 7 | and | And or && |
or | 8 | or | Or or || |
Assignment | 9 | = | = |
The above is the detailed summary of the command and operator knowledge points in Yi Language. For more information about command operators in Yi Language, please pay attention to my other related articles!