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.
Local procedure
Two types of procedures are available...
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
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.
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.
Procedure Description (Variable type)
The Procedure Description type allows you to get information about a procedure or a method.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Set of procedures
The global procedures are grouped in set of procedures...
ExecuteMainThread (Function)
Triggers the execution of the procedure specified in the main application thread.
WEBDEV: Scheduled tasks and delayed tasks
WEBDEV allows you to implement tasks on the server directly...
Optional parameters
Some of the parameters passed to a procedure can be optional parameters...
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...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Typecasting of parameters
The description of the parameter type is optional...
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.
Reactive procedures
Reactive procedures are executed when the value of a control or variable changes...
WebSocketExecuteGlobalService (Function)
Executes a global procedure in the context of the global service of the WebSocket server.
<websocketClient variable>.Execute (Function)
Executes a global procedure in the context of a client connected to the WebSocket server.
TypeVar (Function)
Identifies the type of an expression, a variable (during a call to a procedure for example)...
J2EEError (Function)
Returns the error for the last J2EE procedure that failed.
DeepLinkProcedure (Function)
Defines the WLanguage procedure executed when the user clicks on a deep link.
Defining columns of Table controls programmatically
awProcedureGetInfo (Function)
Specifies the WLanguage procedure that will be called when receiving information coming...
Map (Function)
Executes a procedure on each element of a source array and returns the results in a WLanguage...
awProcedureGetAndSendInfo (Function)
Specifies the WLanguage procedure that will be called when receiving information coming...
Filter (Function)
Returns an array containing the elements of a source array for which a procedure returns True.
<Array>.Filter (Function)
Returns an array containing the elements of a source array for which a procedure returns True.
WidgetProcedure (Function)
Specifies the procedure that will be called when the user clicks an iOS 14 widget.
<Array>.Map (Function)
Executes a procedure on each element of a source array and returns the results in a WLanguage...
Compile (Function)
Dynamically compiles an Procedure whose source code is provided (dynamic compilation).
RETURN statement
The RETURN statement is used to exit a statement block and the current process (or procedure).
J2EEGetResult (Function)
Returns the result of the last J2EE procedure that was successfully run.
J2EERun (Function)
Runs a procedure on a server of J2EE XML Web services.
J2EERunXML (Function)
Runs a procedure on a server of J2EE XML Web services.
AJAXAsynchronousCallPending (Function)
Used to find out whether a server procedure called by AJAXExecuteAsynchronous is currently run.
SeekByProcedure (Function)
Seeks an element in a one-dimensional array by using a comparison procedure.
dbgOnError (Function)
Defines the WLanguage procedure that will be called whenever an error is detected by a dbgCheckXXX...
EventExist (Function)
Indicates whether a specific procedure is run when a Windows event is sent to a control or window.
OpenAsynchronous (Function)
Opens a window whose result will be retrieved via a WLanguage procedure ("callback").
Default (Property)
The Default property is used to determine if a parameter has been passed to a procedure...
1
5
6
7
8
9
40
>