ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage syntax / Structured statements
  • Conditional statements
  • Loop statements
  • Branch statement
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Conditional statements
The conditional statements of WLanguage are as follows:
IFRuns an action or another one according to a condition.
SWITCHRuns an action or another one according to an expression
Loop statements
The loop statements of WLanguage are as follows:
FORThe statement block is repeated until a limit value
FOR EACHElement path:
LOOPThe statement block is repeated endlessly
WHILEThe statement block is repeated according to a condition

The FOR EACH statement can also be used to browse the .Net objects that implement the IEnumerable interface.
Branch statement
The branch statement available in WLanguage is as follows:
GOTOBranches to a given label
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2025

Send a report | Local help