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.
<xlsDocument variable>.DeleteWorksheet (Function)
Deletes a worksheet from the Excel document.
<zipArchive variable>.AddFileList (Function)
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
<zipArchive variable>.Create (Function)
Creates an archive.
<zipArchive variable>.Split (Function)
Splits an archive into several sub-archives of a given size.
XML functions (prefix syntax)
List of XML functions...
<emailIMAPSession variable>.AddFolder (Function)
Adds a folder into the messaging software using IMAP (Internet Message Access Protocol), ...
<emailOutlookSession variable>.AddFolder (Function)
Adds a folder into the Outlook messaging software.
<xlsDocument variable>.Save (Function)
Saves an XLS document.
<emailIMAPSession variable>.ChangeFolder (Function)
Modifies the current folder in the messaging software using the IMAP, ...
<emailOutlookSession variable>.ChangeFolder (Function)
Modifies the current folder in the Outlook messaging software.
<Email variable>.LoadAttachment (Function)
Adds an attached file to an email.
<Email variable>.BuildSource (Function)
Generates the source code of the email to send from an Email variable.
<emailIMAPSession variable>.Expunge (Function)
Destroys all the deleted emails marked as deleted ("Deleted" status) from the current folder...
<emailIMAPSession variable>.CurrentFolder (Function)
Returns the name of the current folder in the messaging software using IMAP (Internet Message...
<emailOutlookSession variable>.CurrentFolder (Function)
Returns the name of the current folder in the Outlook messaging software.
<sfConnection variable>.Delete (Function)
Deletes records from a Salesforce database.
<sfConnection variable>.Undelete (Function)
Restores previously deleted Salesforce records.
<sfConnection variable>.SeekDeleted (Function)
Seeks and retrieves the records (Salesforce objects) deleted during the specified period.
<sfConnection variable>.SeekModified (Function)
Seeks and retrieves the records (Salesforce objects) modified during the specified period.
<sfConnection variable>.Search (Function)
Performs a search among the records found in a Salesforce database.
<sfConnection variable>.Modify (Function)
Modifies the records of a file defined in Salesforce.
<Certificate variable>.OpenProperties (Function)
Opens the Windows window used to find out the properties of a certificate.
<mqttSession variable>.Subscribe (Function)
Used to subscribe to a MQTT notification.
<mqttSession variable>.Connect (Function)
Used to connect to a MQTT server (also called "Broker").
<mqttSession variable>.Disconnect (Function)
Allows you to disconnect from a MQTT server (also called "Broker").