Amy (usually) all programming languages that support something similar support it from right to left, not with empty 'params'...
theFunction() or theFunction(3) or theFunction(4,5) should work... i do not have access to the compiler at the moment thought, so i have not checked On Fri, Nov 14, 2008 at 11:12 PM, Amy <[EMAIL PROTECTED]> wrote: > 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 > > > -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation [EMAIL PROTECTED],