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.
MutexCreate (Function)
Explicitly creates a mutex.
MutexStart (Function)
Locks the current thread while waiting for the mutex to be freed.
MutexEnd (Function)
Signals that the thread frees the mutex.
MutexDestroy (Function)
Explicitly destroys a mutex.
XMLSave (Function)
Saves an XML document in a file.
HPrepareQuery (Function)
Initializes a query and declares this query to the database server in order to optimize the next...
UploadFileSize (Function)
Returns the total size (in bytes) of a file found in an Upload control.
SaaSClientConnexion (Function)
Returns the characteristics of the connection to the client database.
SaaSReadSiteParameter (Function)
Reads an information specific to the client for the current SaaS site.
AddLink (Function)
Adds a link to a text section in an edit control.
SaaSWriteSiteParameter (Function)
Saves a specific information for a SaaS site in the configuration of a client account.
iColumnNum (Function)
Returns the number of the current column in a multi-column report.
StringStartsWith (Function)
Checks whether a character string starts: with a specific character string. with one...
StringEndsWith (Function)
Checks whether a character string ends: with a specific character string. with one...
ChronoPause (Function)
Pauses a stopwatch in order to measure the time spent on a process.
ChronoResume (Function)
Restarts a stopwatch that was stopped by ChronoEnd or ChronoPause.
COMCreateInstance (Function)
Instantiates a COM object (Component Object Model).
COMCallMethod (Function)
Runs a method of an interface of a COM object instantiated by COMCreateInstance.
FileToArray (Function)
Fills an array of classes or structures with the content of an HFSQL data file or query.
dbgSaveDebugDump (Function)
Saves a dump file of the application.
dbgEnableAudit (Function)
Enables the dynamic audit through programming.
dbgAuditStatus (Function)
Retrieves and changes the status of the dynamic audit.
dbgAuditOption (Function)
Retrieves or modifies the options of the dynamic audit.
dbgWriteWarningAudit (Function)
Writes a custom runtime warning into the dynamic audit.
dbgWriteCommentAudit (Function)
Writes a comment into the current dynamic audit.