ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Global procedure/function
A global procedure can be used in all the processes or events of the project.
Calling a procedure/a function
Syntax for calling a local or global procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Procedure description (Type of variable)
The Procedure Description type is used to get information about a procedure or a method.
Procedure/Function
A procedure is used to associate an identifier with a statement block...
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.
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.
Internal procedure
Several features require a procedure called once or several times via a WLanguage function ("Callback").
Local procedure
Two types of procedures are available...
Procedure (Type of variable)
The Procedure type is used to handle:
  • 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.
Set of procedures
The global procedures are grouped in set of procedures...
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.
Optional parameters
Some of the parameters passed to a procedure can be optional parameters...
SeekProcedure (Function)
Seeks a procedure identified by its name. The procedure found can be run directly.
WEBDEV: Scheduled tasks and delayed tasks
WEBDEV allows you to implement tasks on the server directly...
RETURN statement
The RETURN statement is used to exit the current event, process or procedure and return a result...
ExecuteMainThread (Function)
Triggers the execution of the procedure specified in the main application thread.
Automatic procedures
The programming of timers, threads and delayed procedures is now automatically managed by the environment...
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)...
MyParameters (Reserved word)
The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure...
Typecasting of parameters
The description of the parameter type is optional...
RETURN statement
The RETURN statement is used to exit a statement block and the current process (or procedure).
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
HExecuteProcedure (Function)
Runs a stored procedure.
<Connection variable>.ExecuteProcedure (Function)
Runs a stored procedure.
Zombie procedures
In most cases, old code contains procedures that are used but that do no longer match the current...
SOAPRunXML (Function)
Runs a procedure on a SOAP server.
DotNetRun (Function)
Runs a procedure on a .Net server.
SOAPRun (Function)
Runs a procedure on a SOAP server.
Scope of procedures
The scope of a procedure defines whether it is public, private, etc......
Apply (Function)
Executes a procedure for each element of a WLanguage array.
<Array>.Apply (Function)
Executes a procedure for each element of a WLanguage array.
AutomationEvent (Function)
Branches a procedure to the event of an automation object.
Timer (Function)
Periodically and automatically calls a WLanguage procedure.
TimerSys (Function)
Periodically and automatically calls a WLanguage procedure.
Background tasks
Continuing to run a process when the application is in background is very useful on mobile......
HLoadParameter (Function)
Reads a parameter that was saved from a stored procedure by HSaveParameter.
NbReceived (Property)
Returns the number of parameters actually received by a procedure.
Execute (External language)
Runs the code of a control or the code of a procedure in WLanguage.
ExecuteDelayedProcedure (Function)
Runs a delayed procedure (in the WEBDEV application server).
<Connection variable>.LoadParameter (Function)
Reads a parameter that was saved from a stored procedure by HSaveParameter.
DnDEvent (Function)
Indicates the procedure to run during an event of Drag/Drop....
SOAPError (Function)
Returns the error of the last SOAP procedure that failed.
DotNetError (Function)
Returns the error for the last .Net procedure that failed.
AJAXExecuteAsynchronous (Function)
Runs a server procedure without refreshing the page.
AJAXExecute (Function)
Runs a server procedure without refreshing the page.
Coloring the procedures
A color (text color) can be assigned to the procedures so that they can be easily classified...
Stored procedures and queries (HFSQL Client/Server)
The stored procedures are used to simplify the development and the maintenance of your applications...
1
3
4
5
6
7
40
>