ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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 can surround code fragments with a condition, structure, etc.
Simply select the "Surround with" option 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 construct to be used to surround the code with:
    • Condition of the following types: IF ... THEN, IF ... THEN ... ELSE, SWITCH, etc.
    • Loop statements: FOR, FOR ALL, LOOP, etc.
    • Variable type: Structure, composite variable, multilingual string.
    Note: You can also select "Surround with" in the context menu of the code editor.
  3. The code is immediately surrounded with the statements or conditions.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/11/2025

Send a report | Local help