ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Code editor
  • Overview
  • How to?
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
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.
How to?
To insert several existing lines of code into a condition, a loop or a variable:
  1. In the code editor, select the desired lines of code.
  2. 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.
  3. The code is immediately included between the statements or conditions.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/01/2024

Send a report | Local help