can anyone tell me why this code shows number of parameters passed to function as 0 ?
why is Hollywood so annoying ? and not just return 2 ?
Code: Select all
Function p_test(param1,param2,...)
Print("param1=",param1, "param2=",param2,"number of parameters to function=", arg.n)
EndFunction
p_test(1,2)
WaitLeftMouse
eg
if function use 2 params do this code []
if function use 3 params do this code instead []
any help appreciated.