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

Sometimes used to denote a block of callable code that exists in a language where functions aren't first-class types. C, for example, has subroutines, whereas Lisp has functions.

Log in or register to write something here or to contact authors.