ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to 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.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<Array>.Count (Function)
Returns: the number of elements in a one-dimensional array. the number of rows...
<Array>.Reverse (Function)
Reverses the content of a one-dimensional array.
<Array>.InsertLine (Function)
Inserts a row at a given position: into a two-dimensional WLanguage array. into an advanced...
<Array>.Reduce (Function)
Applies a computation to each element of an array.
<Array>.Apply (Function)
Executes a procedure for each element of a WLanguage array.
<Array>.Filter (Function)
Returns an array containing the elements of a source array for which a procedure returns True.
<Spreadsheet>.MergeCell (Function)
Merges specified or selected cells in a Spreadsheet control.
<Source>.ExecuteQueryAsynchronous (Function)
Executes a SELECT query asynchronously.
<Source>.ExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
<Spreadsheet>.MoveWorksheet (Function)
Moves a worksheet within a Spreadsheet control in a window.
<Page>.ClosePopup (Function)
Hides a popup page displayed in the page via PopupDisplayPage.
<Page>.DisplayPopup (Function)
Displays a WEBDEV page as a popup in the current page with a DDW (Dim Disabled Windows) effect.
<Window>.Open (Function)
Opens a modal WINDEV or WINDEV Mobile window.
<Page>.OpenChild (Function)
Opens a non-modal child window.
<Array>.Sum (Function)
Calculates the sum of the array elements.
<Array>.AddReference (Function)
Adds the reference of an object at the last position in a one-dimensional array.
<Array>.Min (Function)
Returns the lowest value in the array.
<Array>.Max (Function)
Returns the greatest value in the array.
<Array>.Mean (Function)
Calculates the mean of the values within an array.
<Array>.Map (Function)
Executes a procedure on each element of a source array and returns the results in a WLanguage...
<Array>.InsertReference (Function)
Adds the reference of an object at given position in a one-dimensional array.
<Chart>.ComparativeSeriesPosition (Function)
Fixes the position (left or right) of a series in a comparative Histogram chart.
<btleDevice>.Initialize (Function)
Initializes a Bluetooth Low Energy device in Windows.
<Source>.DescribeTrigger (Function)
Adds or modifies a trigger on an HFSQL data file.
<Chart>.DeleteAll (Function)
Erases a chart and destroys this chart.