|
|
|
|
|
You want to include your lines of code in a condition, a structure, etc. Nothing's easier, all you have to do is select "Surround with" in the code editor. To insert several existing lines of code into a condition, a loop or a variable: - In the code editor, select the desired lines of code.
- On the "Code" tab, in the "Edit" group, expand "Surround with" and select the type of code that must enclose the selected lines:
- Condition of the following types: IF ... THEN, IF ... THEN ... ELSE, SWITCH, ...
- Repetitive instructions: FOR, FOR ALL, LOOP, ...
- Variable type: Structure, Compound variable, Multilingual string.
Note You can also use the "Refactoring . Outline" option in the Code Editor context menu. - The code is immediately included between the statements or conditions.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|