A silly synonym for function, procedure or method, used mostly in Visual Basic. Similar to a function, except that it has no return value.

To declare a subroutine in VB or VBScript, use the following syntax:

Sub MySubName
[Statements]
End Sub