ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Declaring and using a variable
A variable is defined by name and type...
Service variable
The Service variable is used to...
Report based on a variable (Data binding)
A report based on a variable is used to directly print the information found in a WLanguage variable...
Composite variable
A composite variable contains different types of elements (members)...
Advanced types
The advanced types of WLanguage are as follows
<Source>.Reset (Function)
Initializes:
  • one or all variables of file items with their default values.
  • one or all items of a Record variable with their default values.
WLanguage types
The different types in WLanguage are...
IsNumeric (Function)
Enables you to find out whether a variable or a control is:
  • a numeric (integer, real, currency or numeric).
  • a string that can be converted into numeric.
HReset (Function)
Initializes:
  • one or all variables of file items with their default values.
  • one or all items of a Record variable with their default values.
Assignment operators
Three assignment operators are available...
Code style
A code style is used to automatically prefix the name of all the variables and project elements (windows, report controls, classes, etc.
TypeVar (Function)
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
Constant
The constants are language elements whose value is fixed once and for all...
Checkers available in the code editor
The code editor proposes several tools used to correct the code...
Type inference
The type inference is used to simplify the declaration of variables when the variable type can be automatically deduced by the compiler...
<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.
<Email variable>.LoadAttachment (Function)
Adds an attached file to an email.
<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").
<mqttSession variable>.Unsubscribe (Function)
Allows you to unsubscribe from a MQTT notification.
<mqttSession variable>.UnsubscribeAll (Function)
Allows you to unsubscribe from all the existing subscriptions.
<mqttSession variable>.Publish (Function)
Publishes a message on the MQTT broker.
<mongoDatabase variable>.CreateCollection (Function)
Creates a collection in a MongoDB database while specifying the options of this collection.
<mongoDatabase variable>.ExecuteCommand (Function)
Runs a generic command on a MongoDB database.
<mongoCollection variable>.ExecuteCommand (Function)
Runs a generic command on a MongoDB collection.
<AutomaticEvent variable>.Wait (Function)
Locks the current thread while waiting for the specified event to be opened.
<ManualEvent variable>.Wait (Function)
Locks the current thread while waiting for the specified event to be opened.
<AutomaticEvent variable>.Close (Function)
Closes a synchronization event between several threads.
<ManualEvent variable>.Close (Function)
Closes a synchronization event between several threads.