Help / WLanguage / WLanguage syntax / Structured statements
  • Conditional statements
  • Loop statements
  • Branch statement
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 EACHHyperFileSQL browse (full browse, browse with search, browse with 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…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help