If youre programming lite-c, then you need to declare a type for each parameter, e.g. int, double, var, PANEL*.

Code:

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

createp(10,50);



Should work. Be aware though that in lite-c, temp is not declared, and you need to do so by yourself.
Code:
VECTOR temp;




Click and join the 3dgs irc community!
Room: #3dgs