VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

multiple arguments

Deepak Kumar Shaw  (9 Submissions)   Miscellaneous   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Do you want to pass multiple arguments to your function/method?
There are two ways to do this using unbound array or you can use 'ParamArray'. ParamArray is really a professional way to proceed.
Here is the sample code to make sum of numbers to make you clear how to pass multiple argument to a function.

Inputs
multiple argument

Returns
number

API Declarations
n/a

Rate multiple arguments (2(2 Vote))
multiple arguments.bas

multiple arguments Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters