Changes

Jump to: navigation, search

Visual Basic Modules and Procedures

215 bytes added, 19:41, 30 July 2007
Visual Basic Code Procedures
It is especially useful to be able to return values from ''functions''. For example, the function may need to return the result of the task it performed (perhaps the result of a calculation). A function might also return a True or False value to indicate when the task was performed successfully. The Visual Basic code which called the function then then act based on the returned value.
 
In the case of both ''subroutines'' and ''functions'', values (known as ''parameters'') may optionally be passed into the procedure.
 
== Defining Visual Basic Subroutines ==
 
== Defining Visual Basic Functions ==

Navigation menu