ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Code editor
  • Overview
  • How to?
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
You want to include your code lines in a condition, in a structure, ...
Nothing's easier, all you have to do is select "Include in" 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:
    • Conditions such as IF ... THEN, IF ... THEN ... ELSE, SWITCH, ...
    • Loop statements: FOR, FOR EACH, LOOP, ...
    • Type of variable: Structure, Composite variable, Multiline string.
      Remark: You can also select "Surround with" in the context menu of the code editor.
  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: 10/27/2022

Send a report | Local help