Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Programming Languages A Place for windows applications programs and programmers .

Programming Languages Thread, Visual Basic: Private Function with multiple parameters in Programming , WebDesign & Development; I wanna have a function with more than one variable, and the function supports an infinite amount of variables, as ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=13841


Reply
LinkBack Thread Tools Display Modes
Visual Basic: Private Function with multiple parameters
 
 
Senior Member

Reply With Quote
 
Join Date: Dec 2008
Posts: 18,122
08-01-2009, 12:10 AM
 
I wanna have a function with more than one variable, and the function supports an infinite amount of variables, as in it requires one variable but can take 3 or 4 or 5 and the function will run for each instance of the one variable. Example: ...

I wanna have a function with more than one variable, and the function supports an infinite amount of variables, as in it requires one variable but can take 3 or 4 or 5 and the function will run for each instance of the one variable.
Example:

Private Function dFunc (ByVal x As Integer)

Except I can call it using 2 or more variables too, like
dFunc(1)
dFunc(1,2,3,4)
dFunc(1,4,61)

And it will run the script for each instance of the variable.

Thanks in advance!
 
 
 
Reply

Programming Languages Thread, Visual Basic: Private Function with multiple parameters in Programming , WebDesign & Development; I wanna have a function with more than one variable, and the function supports an infinite amount of variables, as ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=13841


Bookmarks

Tags
basic, function, multiple, parameters, private, visual


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump