Procedures (VBScript)

Procedures are a type of Function in VBScript that are used to modularize code and make it more reusable. In VBScript, the only difference between a procedure and a VBScript Function is that procedures do not return a value where functions do.

The basic syntax of a function in VBScript is as follows.

DisplayMessage("Hello world")

Sub DisplayMessage(ThisMessage)
End Sub
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License