I thought that when you have a function that looks like this:

private function theFunction(param1:int=0, param2:int=1, 
param3:String='foo') {
//do stuff
}

That it's ok to call the function like this:

theFunction(,,'bar');

But when I do this, I'm getting all sorts of syntax errors, 
including "Expecting identifier before comma."  Am I misunderstanding 
how this works?  Will I have to use ...rest and give up my typed 
arguments and named variables?

Thanks;

Amy

Reply via email to