120 likes | 310 Views
Chapter 4 - VB.Net by Schneider. 2. 4.3 Function Procedures. User-Defined Functions Having Several Parameters Comparing Function Procedures with Sub Procedures Collapsing a Procedure with a Region Directive. Chapter 4 - VB.Net by Schneider. 3. User-Defined Functions . Functions always return one v
E N D
1. Chapter 4 - VB.Net by Schneider 1 Chapter 4 General Procedures 4.1 Sub Procedures, Part I
4.2 Sub Procedures, Part II
4.3 Function Procedures
4.4 Modular Design
2. Chapter 4 - VB.Net by Schneider 2 4.3 Function Procedures User-Defined Functions Having Several Parameters
Comparing Function Procedures with Sub Procedures
Collapsing a Procedure with a Region Directive
3. Chapter 4 - VB.Net by Schneider 3 User-Defined Functions Functions always return one value
Syntax:
Function FunctionName(ByVal var1 As Type1, _
ByVal var2 As Type2, _
…) As dataType
statement(s)
Return expression
End Function
4. Chapter 4 - VB.Net by Schneider 4 Some Built-In Functions