General information
Category:
Coding, syntax & commands
Title:
How many parameters do i have
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only