2 REM ExpectedError: BC30192
3 REM ErrorMessage: ParamArray parameter must be last in parameter list.
6 REM ExpectedError: BC30451
7 REM ErrorMessage: Name 'b' is not declared.
10 REM ExpectedError: BC30311
11 REM ErrorMessage: Value of type '1-dimensional array of Integer' cannot be converted to 'Integer'.
13 '============================================================================================
14 'Name:Manish Kumar Sinha
15 'Email Address: manishkumarsinha@sify.com
16 'Test Case Name: ParamArray:
17 'APR-1.0.0: ParamArray can be used only on the last argument of argument list. it allows us to 'pass an arbitrary list. It allows us to pass an arbitrary number of argument to the procedure
18 '=============================================================================================
21 Function F(ParamArray
args() As Integer, ByVal b
as Integer)as Boolean
31 Dim a
As Integer() = { 1, 2, 3 }
37 Throw
New System
.Exception("#A1, Unexcepted Behaviour in F(a,c)")
41 '=============================================================================================