By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,886 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

multiple parameters in function

P: n/a
Hi

I want to pass one or two parameters to a function, such as

function OpenDirSel(input, user)
{
}

The point: it does not work with 2 parameters, why?
Is there a way, that I can make the 2nd parameter optional?

WBR
Sonnich
Jul 2 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jul 2, 10:04 am, jodleren wrote:
Hi

I want to pass one or two parameters to a function, such as

function OpenDirSel(input, user)
{
}

The point: it does not work with 2 parameters, why?
It does "work" with 2 parameters.
Is there a way, that I can make the 2nd parameter optional?
The second parameter is already optional.

You are going to have to come up with a better question as that one
will not get you very far.
Jul 2 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.