Tutorial by Examples

A Sub is a procedure that performs a specific task but does not return a specific value. Sub ProcedureName ([argument_list]) [statements] End Sub If no access modifier is specified, a procedure is Public by default. A Function is a procedure that is given data and returns a value, ideally...
As stated above Functions are smaller procedures that contain small pieces of code which may be repetitive inside a Procedure. Functions are used to reduce redundancy in code. Similar to a Procedure, A function can be declared with or without an arguments list. Function is declared as a return ty...

Page 1 of 1