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)...
TypeVar (Function)
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
Advanced types
The advanced types of WLanguage are as follows
Checkers available in the code editor
The code editor proposes several tools used to correct the code...
Constant
The constants are language elements whose value is fixed once and for all...
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.
WLanguage types
The different types in WLanguage are...
Assignment operators
Three assignment operators are available...
<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.
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.
Type inference
The type inference is used to simplify the declaration of variables when the variable type can be automatically deduced by the compiler...
Code style
A code style is used to automatically prefix the name of all the variables and project elements (windows, report controls, classes, etc.
<mongoCollection variable>.DeleteCollection (Function)
Deletes a collection from a MongoDB database.
<mongoDatabase variable>.DeteleDatabase (Function)
Deletes a MongoDB database as well as its collections.
<mongoCollection variable>.Find (Function)
Finds documents in a MongoDB collection.
<mongoCollection variable>.ModifyAll (Function)
Modifies documents in a collection of a MongoDB database.
<mongoCollection variable>.DeleteOne (Function)
Deletes a document from a collection in a MongoDB database.
<mongoGridFS variable>.DeleteFileByID (Function)
Deletes a file identified by its identifier from a MongoDB file system.
<mongoGridFS variable>.GetFile (Function)
Retrieves (on the local computer) a file identified by its name and found in a MongoDB file system.
<DiskFile variable>.FileName (Function)
Returns the name of an external file currently open.
<DiskFile variable>.Close (Function)
Closes an external file.
<DiskFile variable>.WriteLine (Function)
Writes a line into a text file (ANSI or UNICODE).
<DiskFile variable>.Write (Function)
Writes: a character string into an external file. a memory section....
<DiskFile variable>.Seek (Function)
Gets and sets current position in an external file.
<Image variable>.Straighten (Function)
Transforms an image by applying perspective correction.
<picLayer variable>.Straighten (Function)
Transforms an image by applying perspective correction.
<emailSMTPSession variable>.CloseSession (Function)
Closes an SMTP session.
<emailIMAPSession variable>.CloseSession (Function)
Closes an IMAP session.
<emailNotesSession variable>.CloseSession (Function)
Closes a Notes session.
<emailOutlookSession variable>.CloseSession (Function)
Closes an Outlook session.
<DiskFile variable>.ChangeSize (Function)
Resizes an external file.
<zipArchive variable>.ChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
<zipArchive variable>.FindFile (Function)
Finds a file in an archive (in CAB, ZIP, RAR, WDZ or 7z format).
<Diagram variable>.Search (Function)
Searches for shapes containing a specific text in a diagram.
<ParallelTask variable>.Execute (Function)
Triggers the execution of a parallel task.
<Diagram variable>.Save (Function)
Saves a diagram as a "diag" file.
<zipArchive variable>.Exist (Function)
Determines whether an archive exists.