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.
<mongoCollection variable>.DeleteOne (Function)
Deletes a document from a collection in a MongoDB database.
<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.
<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.
<mongoDatabase variable>.Info (Function)
Returns information about a MongoDB database.
<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.
UTF8Valid (Function)
Tests the validity of a string in UTF8 format.
<PDF reader>.Save (Function)
Saves the content of a PDF Reader to a file.
<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.
<List Box>.InfoXY (Function)
Returns the index of the row (or image) at a given position in a List Box or ListView control.
U.S.VerifyTaxNumber (Function)
Tests the validity of a US tax number.
<List Box>.MoveLine (Function)
Moves a row or swaps two rows in a List Box or Combo Box control.
<Buffer type>.DecryptAsymmetricEnvelopped (Function)
Performs the asymmetric encryption of an envelope that has been encrypted...