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...
<DiskFile variable>.ReadLineRegularExpression (Function)
... and assigns them to a variable.
<DiskFile variable>.Size (Function)
Returns the size of a file (in bytes).
<mongoCollection variable>.ExecuteOperations (Function)
Performs MongoDB write operations in bulk. This allows you to avoid network latency issues...
<WBAdminAuth variable>.ListAccount (Function)
Returns the list of WEBDEV accounts on a WEBDEV Application Server.
<DiskFile variable>.ReadLine (Function)
Reads a line from an external file (ANSI or UNICODE).
<WBAdminAuth variable>.UpdateAccount (Function)
Updates the parameters of a WEBDEV account in a WEBDEV Application Server.
<WBAdminAuth variable>.ListConnection (Function)
Returns the list of current connections on a WEBDEV Application Server.
<WBAdminAuth variable>.DeleteAccount (Function)
Deletes a WEBDEV account from a WEBDEV Application Server.
<WBAdminAuth variable>.Disconnect (Function)
Deletes a connection from a WEBDEV Application Server.
<WBAdminAuth variable>.CreateAccount (Function)
Creates a WEBDEV account on a WEBDEV Application Server.
<xlsDocument variable>.RecalculateAll (Function)
Recalculates all formulas in an Excel (XLSX) document.
<xlsDocument variable>.GetMerge (Function)
Determines if a cell is merged with other cells and gets the merged cell range.
<Email variable>.ExportHTML (Function)
Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display...
<aiNeuralNetworkModel variable>.Detect (Function)
Runs a trained neural network model on an image. This function allows you to use artificial...
<JSON variable>.ToString (Function)
Converts the content of a JSON variable to a JSON string.
<JSON variable>.ToXML (Function)
Converts a JSON string to XML.
<restRequest variable>.Send (Function)
Sends a REST request and waits for the server response.
<Diagram variable>.ToImage (Function)
Exports a diagram to a variable of type Image.
<diagLibrary variable>.LoadLibrary (Function)
Loads a diagram file and creates a library of preset shapes from it.
<Diagram variable>.Load (Function)
Loads a diagram into a Diagram variable from a ".wddiag" file, a memo or a binary buffer.
<diagShape variable>.ToImage (Function)
Creates an image from a shape in a diagram (the shape can be displayed or not in the diagram).
<Scanner variable>.Capability (Function)
Used to determine if a scanner has a given capability.
<WDPic variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type WDPic.
<picLayer variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type picLayer.
<Image variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type Image.