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)
MsgBox(ThisMessage)
End Sub
page revision: 0, last edited: 19 May 2008 00:13