ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Full syntax Hide the details
Marks the beginning of the statement block.
Comparison variable (any type).
Different comparison cases.
Value that must be compared to the comparison variable (same type as the comparison variable).
Action to perform if the corresponding expression is equal to the comparison variable. Once this action has been performed, the process continues after the END keyword.
Action to perform if the comparison variable is equal to no expression (optional).
Marks the end of the statement block.
Simplified syntax for an integer value of consecutive values Hide the details
Value returned by SWITCH
Returned value. Returns <Result 1> if <Value> is set to 1, <Result 2> if <Value> is set to 2, ...
Used to process the case when no result corresponds to the value. A WLanguage error occurs if this case is not processed.
Value returned if no result corresponds to the value.
Exiting from a SWITCH statement
SWITCH with test on a condition
OTHER CASE keyword
Last update: 09/06/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: