ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

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...
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.
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
<redisConnection>.Subscribe (Function)
Subscribes to a Redis broadcast channel.
France.CheckSIREN (Function)
Checks the validity of a French SIREN number (Système d'Identification du Répertoire des...
<Toast>.Display (Function)
Displays a "Toast" message.
<Connection>.InfoLock (Function)
Returns information about the lock set on a data file, on one or all the records in a data file.
<Report>.Print (Function)
Prints a report created with the report editor.
<Source>.ErrorModification (Function)
Returns the value of a record item when a modification conflict occurs..
<redisConnection>.Connect (Function)
Opens a connection to a Redis server (or cluster).
<Source>.Save (Function)
Modifies the current record if it exists, otherwise adds a new record.
<Source>.OnError (Function)
Customizes the management of HFSQL errors.
<Source>.ExportXML (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to an XML file.
<Source>.State (Function)
Used to find out the state of a record.
<Source>.Delete (Function)
Deletes a record from a data file (query or view).
<Source>.StatTime (Function)
Returns the time of the last update for the index statistics.
<Source>.Next (Function)
Sets the position on the next data file record according to a browse item.
<Source>.IndexingInProgress (Function)
Indicates that a reindex operation is currently performed on an HFSQL data file and returns...
<Source>.Index (Function)
Rebuilds the file index (".NDX" file).
<AuthToken>.RefreshToken (Function)
Refreshes a user's OAuth2 token when it expires....
<Array>.Intersect (Function)
Returns an array corresponding to the intersection of two arrays.
<Array>.Shuffle (Function)
Shuffles the elements of a WLanguage array.
<Array>.Distinct (Function)
Returns an array without duplicates.
<Array>.DeleteDuplicate (Function)
Deletes the duplicates from an array.
<Array>.Union (Function)
Returns an array corresponding to the union of two arrays.
<Array>.UnionAll (Function)
Returns an array corresponding to the union of two arrays (without deleting duplicates).
<Table>.AddLine (Function)
Adds a row in: a Table control, a TreeView Table control....