Operators format
All operators except assignment operator (A = B;) and syntax structures of 1C:Enterprise script (e.g. For, While, If) look like standard procedure calls. Use ";" (semicolon) to separate operators. End of string doesn't mean end of operator, i.e. operators may freely move over several strings and continue in another string. You can place any number of operators in one string if you separate them with ";" symbol.
There are two categories of language operators in program modules: variable declare operators and executable operators.
Variable declare operators create variable names, which are used by executable operators.
Any executable operator may have a label that can be used by GoTo operator as a jump point.
Generally, language operator format looks as follows:
~label:Operator[(parameters)] [AddKeyWord];
Labels are special identifiers that begin with "~" symbol (tilde) and consist of a sequence of letters, digits and "_" symbols (underline). To mark an operator, you should put a label before it, followed with ":" symbol.
Example:
~label:A=B; |