ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage syntax / Structured statements
  • Conditional statements
  • Loop statements
  • Branch statement
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
Conditional statements
The conditional statements 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 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 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: 09/06/2023

Send a report | Local help