ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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 EACHHFSQL iteration (full iteration, search, filter)
FOR EACHIterates through the arrays
FOR EACHIterates over the characters of a string
FOR EACHIterates through the controls
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: 10/30/2024

Send a report | Local help