Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many parameters do i have
Message
From
30/10/1998 15:23:20
Len Wooden
Statistical Resources, Inc
Baton Rouge, Louisiana, United States
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
How many parameters do i have
Miscellaneous
Thread ID:
00153008
Message ID:
00153008
Views:
66
Is there a function to tell me how many parameters have been passed to the function from the call. If I have a function tom with 4 parameters, 2 of which are declaired as optional:
public tom(a as string, b as string, optional x as integer, optional y as integer)

And in another function bob I say:
tom "sam", "joe"

Is there a function that will return 2, the number of params passed.
Or a function I can use on the third param name that will tell me if a value was passed for it.
Next
Reply
Map
View

Click here to load this message in the networking platform