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.
grSaveEMF (Function)
Saves a chart that was drawn beforehand in a file in EMF format.
EmailReadFirstHeader (Function)
Reads the header of the first incoming email according to the protocol used (POP3 or IMAP, Lotus...
tapiSendKey (Function)
Allows you to simulate the use of phone keys.
grSaveBMP (Function)
Saves a chart that was previously drawn in a file in BMP format.
EmailReadPreviousHeader (Function)
Reads the header of the email found before the current email according to the protocol used (POP3...
NetMsgError (Function)
Returns the error message corresponding to the error number returned by NetOpenRemoteAccess...
tapiOrigin (Function)
Allows you to determine the type of call (incoming or outgoing).
tapiCalledID (Function)
Used to find out the phone number called.
grStockAddData (Function)
Adds data into a stock chart (candlestick, barcharts or minmax).
grAddData (Function)
Adds a data into a chart.
grCreateFont (Function)
grCreateFont is kept for backward compatibility.
sInEntryQueue (Function)
Retrieves the number of pending bytes in the input buffer of a specified serial port or infrared...
sInExitQueue (Function)
Retrieves the number of bytes waiting to be transferred in the output buffer of the specified...
sWrite (Function)
Writes a character string to the output buffer of the specified serial port, parallel port...
sEvent (Function)
Branches an event on a serial port.
sClose (Function)
Closes the specified serial port, parallel port or infrared port.
sEndEvent (Function)
Disables the detection of an event on a serial port.
sParameter (Function)
Defines or modifies the parameters for configuring the specified serial port, parallel port...
sRead (Function)
Reads a character string in the entry buffer of the specified serial port.
sOpen (Function)
Opens and initializes: a serial port. a parallel port. an infrared port....
zipAddFile (Function)
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format...
zipAddFileList (Function)
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
zipAddDirectory (Function)
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
zipChangePath (Function)
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
zipFindFile (Function)
Finds a file in an archive (in CAB, ZIP, RAR, WDZ or 7z format).