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.
HTMLBuildString (Function)
Generates a UTF-8 string containing an HTML document.
HTMLFindElementByName (Function)
Searches for elements whose "name" attribute matches a specific value in an HTML document...
HTMLFindElementByID (Function)
Searches for the element whose "ID" attribute matches a specific value in an HTML document...
HTMLEditorInsertTable (Function)
Inserts a table at the cursor position in an HTML Editor control.
HTMLEditorSearch (Function)
Searches for a string in an HTML Editor control.
HTMLExecuteBrowserProcedure (Function)
Executes a WLanguage browser procedure in an HTML Display control that displays a page created...
SpeechSynthesisListVoices (Function)
Returns the list of voices available on the device for the speech synthesis engine.
HTMLSave (Function)
Saves the content of an htmlDocument variable to an HTML file.
HTMLEditorSelect (Function)
Selects a text fragment in an HTML Editor control.
HTMLEditorToPDF (Function)
Exports the content of an HTML Editor control to a PDF file.
ModbusConnectRTU (Function)
Connects a client to a Modbus slave via a serial port.
ModbusConnectTCP (Function)
Connects a client to a Modbus server via transmission control protocol (TCP).
ModbusDisconnect (Function)
Closes the Modbus session.
ModbusWriteBit (Function)
Writes one or multiple bits to a specific address in a Modbus slave.
ModbusWriteFloat (Function)
Writes one or more single-precision floats to a Modbus slave, starting at a specific address.
ModbusWriteRegister (Function)
Writes one or more registers (16-bit values) to a Modbus slave, starting at a specific address.
ModbusReadBit (Function)
Reads one or more bits from a Modbus slave, starting at a specific address.
ModbusReadFloat (Function)
Reads one or more single-precision floats from a Modbus slave, starting at a specific address.
ModbusReadRegister (Function)
Reads one or more registers from a Modbus slave, starting at a specific address.
BufferToPhrase (Function)
Converts a buffer to a mnemonic phrase using the BIP39 algorithm.
InWebSocketServerMode (Function)
Indicates if the current code is being executed on the WebSocket server.
WebSocketListConnectedUser (Function)
Lists the clients connected to the WebSocket server.
WebSocketSend (Function)
Sends a message from the WebSocket server to the client.
WebSocketDisconnect (Function)
Disconnects a client from a WebSocket server.
WebSocketExecute (Function)
Executes a procedure in the context of a client connected to the WebSocket server.