ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Category: Structured statements
28 results
AFTER
Runs a process only after a given procedure has been executed, and continues to execute the current code while waiting for this procedure to end.
Assignment of RETURN
The return value of the process currently run can be assigned...
BREAK statement/"BREAK:" label
The keyword BREAK can correspond:
  • to the BREAK statement: it allows you to exit a set of instructions and run the rest of the current process.
  • to the BREAK label: it allows you to declare a section of code in a loop. This code will be run when exitingfrom the loop with a "BREAK" statement.
Compilation instruction: IF TargetExecution
The <IF ExecutionTarget> compile statement allows you to compile or not compile a WLanguage code depending on the execution target.
Compilation statement: COMPILE IF
The <COMPILE IF> statement allows you to compile (or not) a WLanguage code according to a condition.
Compound statements
CONTINUE statement/"CONTINUE:" label
The CONTINUE keyword can correspond:
  • to the CONTINUE instruction. It allows you to go back to the beginning of the first iteration without finishing the code of the current iteration.
  • to the CONTINUE: label. It allows you to declare a common code in a loop.
"END:" label
The END: label is used to define a code that will be systematically run at the end of process execution.
FOR ALL/FOR EACH statement (browse of strings)
The FOR EACH statement is used to browse strings according to different methods...
FOR EACH/FOR ALL statement (browse of arrays)
The FOR EACH statement is used to perform different types of browse on the arrays...
FOR EACH/FOR ALL statement (browse of associative arrays)
The FOR EACH statement is used to perform different types of browse on the associative arrays...
FOR EACH/FOR ALL statement (browse of combinations)
The FOR EACH statement is used to browse the available values in the combinations.
FOR EACH/FOR ALL statement (browse of enumerations)
The FOR EACH statement is used to browse the available values in the enumerations.
FOR EACH/FOR ALL statement (loop through controls)
The statement FOR EACH is used to perform different types of browse on the controls (List Box, Table or Looper controls)...
FOR EACH/FOR ALL statement (loop through files)
The FOR EACH statement is used to run different types of HFSQL loops...
FOR EACH/FOR ALL statement (loop through a variable of type XMLReader)
The FOR EACH statement loops through a variable of type xmlReader in various ways:
  • Loop through a level.
  • Loop through a level with copy.
  • In-depth loop.
FOR statement
The statement block is repeated while a control variable is modified and compared to a limit value (before each beginning of statement block)...
GOTO statement
The GOTO statement is used to run a code identified by a label...
LOOP statement
The statement block is repeated endlessly...
RETURN statement
The RETURN statement is used to exit a statement block and the current process (or procedure).
RETURN statement
The RETURN statement is used to exit the current event, process or procedure and return a result...
Simple statements
IF statement
The conditional IF statement allows you to run an action according to a condition...
SWITCH statement
The SWITCH statement is used to choose the action that will be run according to the value of an expression...
USING IN (Critical section)
The statement USING ... IN makes it possible to automatically perform initialization and ending operations on critical sections.
USING IN (Stopwatch)
The statement USING ... IN allows you to automatically start and stop a stopwatch.
WHILE statement
In a WHILE statement, the expression is evaluated at each beginning of the block of statements...
WITH
Factorizes the expression of an element on which several subelements or properties are accessed.