Hi,

I am a newbie and have an simple question:

I want to call a function with more than one parameter. I thougt that this code should work. But it didn't :-( :

Code:
  
function createp(a,b){
temp.x=a;
temp.y=b;
...
}

createp(10,50);




I always get the message: "Bad or missing parameter unknown function"

But when I call createp with only one parameter it works.

Code:
 create(10); 



What is wrong with my code?

Thanks for yours answers.

Greetings,
scrooge313

Last edited by scrooge313; 01/20/08 01:47.