Skip to main content
Version: v4 (Stable)

StartDialog

StartDialog([sCommand As String [,bReceiveLines As Boolean]]) As Boolean

Start a dialog with the server. If a <sCommand> is set, the requested command is executed on the server.

If the parameter is empty (default value), we only start the dialog and listen.

The DialogReceive function can then be used to read the data sent by the server.

If the optional parameter <bReceiveLines> is TRUE (default value is FALSE), the text is read line by line.

The function returns TRUE when the dialog is started.