|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Several features require a procedure called once or several times via a WLanguage function ("Callback"). |
|
|
|
|
|
|
|
| A procedure is used to associate an identifier with a statement block... |
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
| The different syntaxes for declaring a procedure... |
|
|
|
|
|
|
|
| The Procedure Description type allows you to get information about a procedure or a method. |
|
|
|
|
|
|
|
| A global procedure can be used in all the processes or events of the project. |
|
|
|
|
|
|
|
| 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. |
|
|
|
|
|
|
|
| You have the ability to pass parameters to a procedure. |
|
|
|
|
|
|
|
| Syntax for calling a local or global 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. |
|
|
|
|
|
|
|
| Two types of procedures are available... |
|
|
|
|
|
|
|
| The procedures and the methods of classes can have several syntaxes. |
|
|
|
|
|
|
|
| Some of the parameters passed to a procedure can be optional parameters... |
|
|
|
|
|
|
|
| WEBDEV allows you to implement tasks on the server directly... |
|
|
|
|
|
|
|
| The description of the parameter type is optional... |
|
|
|
|
|
|
|
| The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure... |
|
|
|
|
|
|
|
| To simplify the maintenance or the use of existing code by other developers, WINDEV proposes an automatic documentation for the procedures (or class methods)... |
|
|
|
|
|
|
|
| The programming of timers, threads and delayed procedures is now automatically managed by the environment... |
|
|
|
|
|
|
|
| Reactive procedures are executed when the value of a control or variable changes... |
|
|
|
|
|
|
|
| Seeks a procedure identified by its name. The procedure found can be run directly. |
|
|
|
|
|
|
|
| The RETURN statement is used to exit a statement block and the current process (or procedure). |
|
|
|
|
|
|
|
| The parameters can be passed to a procedure... |
|
|
|
|
|
|
|
| Executes a procedure in the main thread of the application without waiting for the end of its execution. |
|
|
|
|
|
|
|
| The RETURN statement is used to exit the current event, process or procedure and return a result... |
|
|
|
|
|
|
|
| In most cases, old code contains procedures that are used but that do no longer match the current... |
|
|
|
|
|
|
|
| Runs a procedure on a SOAP server. |
|
|
|
|
|
|
|
| Runs a procedure on a .Net server. |
|
|
|
|
|
|
|
| Runs a procedure on a SOAP server. |
|
|
|
|
|
|
|
| The scope of a procedure defines whether it is public, private, etc...... |
|
|
|
|
|
|
|
| Executes a procedure for each element of a WLanguage array. |
|
|
|
|
|
|
|
| Executes a procedure for each element of a WLanguage array. |
|
|
|
|
|
|
|
| Branches a procedure to the event of an automation object. |
|
|
|
|
|
|
|
| Periodically and automatically calls a WLanguage procedure. |
|
|
|
|
|
|
|
| Periodically and automatically calls a WLanguage procedure. |
|
|
|
|
|
|
|
| Continuing to run a process when the application is in background is very useful on mobile...... |
|
|
|
|
|
|
|
| Reads a parameter that was saved from a stored procedure by HSaveParameter. |
|
|
|
|
|
|
|
| Returns the number of parameters actually received by a procedure. |
|
|
|
|
|
|
|
| Runs the code of a control or the code of a procedure in WLanguage. |
|
|
|
|
|
|
|
| Runs a delayed procedure (in the WEBDEV application server). |
|
|
|
|
|
|
|
| Reads a parameter that was saved from a stored procedure by HSaveParameter. |
|
|
|
|
|
|
|
| Indicates the procedure to run during an event of Drag/Drop.... |
|
|
|
|
|
|
|
| Returns the error of the last SOAP procedure that failed. |
|
|
|
|
|
|
|
| Returns the error for the last .Net procedure that failed. |
|
|
|
|
|
|
|
| Runs a server procedure without refreshing the page. |
|
|
|
|
|
|
|
| Runs a server procedure without refreshing the page. |
|
|
|
|
|
|
|
| A color (text color) can be assigned to the procedures so that they can be easily classified... |
|
|
|
|
|
|
|
| The stored procedures are used to simplify the development and the maintenance of your applications... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|