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.
TwainSelectSource (Function)
Displays a standard dialog box used to list the different Twain devices available on the current...
MatFloatAdd (Function)
Adds a value to each matrix element.
SaveParameter (Function)
Saves a persistent value in the registry or in another file specified by InitParameter.
TreeIdentifier (Function)
Returns the identifier associated with an element (node or leaf) in a TreeView control.
TwainCurrentSource (Function)
Allows you to find out and change the Twain device used by default.
MatFloatMultiply (Function)
Multiplies each matrix element by a value.
TreeGiveChild (Function)
Returns the "children" of an element found in a TreeView control.
TreeSelect (Function)
Returns the full path of the selected element in a TreeView control.
TwainToBMP (Function)
Allows you to perform one of the following actions: save the document coming from the Twain...
MatDelete (Function)
Deletes an existing matrix.
TreePosition (Function)
Displays a TreeView control from a specified element (node or leaf) or returns the name...
TwainToControl (Function)
Allows you to : view the document coming from the Twain device in an Image control. view...
MatTranspose (Function)
Calculates the transposed matrix.
TreeCount (Function)
Returns the number of elements found in a branch of a TreeView control.
TwainToGIF (Function)
Allows you to: save the document coming from the Twain device in a GIF file. view...
StatCorrelation (Function)
Calculates the coefficient of correlation between two series of values.
TreeModify (Function)
Modifies an element (node or leaf) in a TreeView control.
TwainToJPEG (Function)
Allows you to: save the document coming from the Twain device in a JPEG file. view...
StatCovariance (Function)
Calculates the covariance between two series of values.
TreeListItem (Function)
Lists the "children" of a node and the "child" elements of these "children" in a TreeView control.
TwainToClipboard (Function)
Allows you to: copy the document coming from the Twain device into the clipboard. view...
StatAverageDeviation (Function)
Calculates the average deviation of values in relation to their arithmetic mean.
TreeInsert (Function)
Inserts a leaf into a TreeView control at a specific position.
TwainScanArea (Function)
Used to define or re-initialize the area to scan.
StatStandardDeviation (Function)
Calculates the standard deviation for a series of values.