Page 1 of 1
function question
Posted: Fri Sep 30, 2005 8:07 pm
by Charles256
erm..how would I go back out declaring a function when I don't know how many parameters there would be? Might be 10 variables passed to it, might be ten million. Any clues? Links? Slaps?anything?:)
Posted: Fri Sep 30, 2005 8:11 pm
by Jenk
Posted: Fri Sep 30, 2005 8:16 pm
by Charles256
but if i don't declare a variable when defining the function how do I refer to it within the function? i.e.
how would i reference that within the function?
Posted: Fri Sep 30, 2005 8:26 pm
by Jenk
Have you read the link?
Check out the quicklinks on it to func_get_arg() and func_get_args()

Posted: Fri Sep 30, 2005 8:29 pm
by Charles256
i read the link but in my haste read over the important part. it be stored in an array. rather tedius but i think i can work it out just write that it works properly. it's tricky becausei plan on sending something like
1,2,3,4,5,6,7,8;1,2,3,4,5,6,7,8;1,2,3,4,5,6,7,8 and so on and so forth:-D shall be tricky.lol