ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Internal procedure
Several features require a procedure called once or several times via a WLanguage function ("Callback").
Procedure/Function
A procedure is used to associate an identifier with a statement block...
Procedure (Variable type)
The Procedure type is used to handle through programming:
  • the procedures or methods found in the project.
  • the procedures or methods found in an internal component.
  • the procedures or methods found in an external component.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Procedure Description (Variable type)
The Procedure Description type allows you to get information about a procedure or a method.
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Calling a procedure/a function
Syntax for calling a local or global procedure.
Useful parameters of a procedure
A procedure can declare some parameters that are not immediately used. In this case, a warning appears in the code editor, indicating that the local variable is not used.
Local procedure
Two types of procedures are available...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Set of procedures
The global procedures are grouped in set of procedures...
Optional parameters
Some of the parameters passed to a procedure can be optional parameters...
WEBDEV: Scheduled tasks and delayed tasks
WEBDEV allows you to implement tasks on the server directly...
Typecasting of parameters
The description of the parameter type is optional...
MyParameters (Reserved word)
The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure...
Automatic documentation of procedures and methods
To simplify the maintenance or the use of existing code by other developers, WINDEV proposes an automatic documentation for the procedures (or class methods)...
Automatic procedures
The programming of timers, threads and delayed procedures is now automatically managed by the environment...
Reactive procedures
Reactive procedures are executed when the value of a control or variable changes...
SeekProcedure (Function)
Seeks a procedure identified by its name. The procedure found can be run directly.
RETURN statement
The RETURN statement is used to exit a statement block and the current process (or procedure).
Passing parameters
The parameters can be passed to a procedure...
ExecuteMainThreadAsynchronous (Function)
Executes a procedure in the main thread of the application without waiting for the end of its execution.
RETURN statement
The RETURN statement is used to exit the current event, process or procedure and return a result...
Procedure WLanguage called by the function SensorDetectChangeAcceleration
Procedure (also known as "Callback") called by the SensorDetectChangeAcceleration function...
Error handling WLanguage procedure called by zipExtractDirectory
WLanguage procedure ("Callback") called if an error is encountered when extracting files...
REST Services: Prologue procedure (executed before each call)
It is now possible to specify in the description of a Webservice that a procedure must be called...
WLanguage procedure called by zipExtractDirectory to manage progress bars
WLanguage procedure ("Callback") used by zipExtractDirectory to manage the progress of files...
WLanguage procedure called by zipAddDirectory to handle the progress bar
WLanguage procedure ("Callback") used by zipAddDirectory to manage the progress of files...
Error 203: The procedure already has a scope attribute (local or global)
Native Oracle Connector: Retrieving the output value of a stored procedure
procedure. retrieve the output values after a call to a stored procedure....
Native Sybase Connector: Running the same stored procedure several times
In some cases, it may be useful to execute the same stored procedure multiple times by changing one...
Native SQL Server Connector: Retrieving the output value of a stored procedure
to a stored procedure. retrieve the output values after a call to a stored procedure....
Native Sybase Connector: Output value of a stored procedure run on the server
values during the call to a stored procedure. retrieve the output values after a call to a stored...
Native SQL Server Connector: Executing the same stored procedure multiple times
In some cases, it may be useful to execute the same stored procedure multiple times by changing one...
Error 107: Redefinition of the parameter
After (Property)
The After property replaces or inserts a procedure after the other procedures in: a Procedure...
Android and Java: call WLanguage procedures
Permet de spécifier la procédure qui sera appelée lorsque l’utilisateur effectue un clic dans un...
Before (Property)
The Before property replaces or inserts a procedure before the other procedures in: a Procedure...
EndAutomatedProcedure (Function)
Stops the current or forthcoming execution of an automatic procedure (defined by the properties...
AFTER
Runs a process only after a given procedure has been executed, and continues to execute the current...
Error 204: using a parameter without optional value after parameters ...
DDEEvent (Function)
Associates a WLanguage procedure with a DDE event: when the DDE event occurs, the associated...
Lambda: Expressions and procedures
A lambda ("lambda function") is a more concise way to write internal procedures...
Error 810: * can only be used for a parameter with a default value
Overloading a WLanguage function or using a WLanguage function in an SQL query
WLanguage includes the "WL" keyword......
Telephony: Managing the incoming calls
The management of the incoming calls is performed in a specific "thread"....
1
2
3
4
5
6
40
>