
01-27-2011, 03:20 AM
|
One More Time
|
 |
Join Date: Aug 2010
Location: TN, USA
Posts: 631
|
|
Quote:
Originally Posted by fowlplay4
You have complete control over what data you pass to it, instead of checking for how many parameters you pass to a certain function, write a function to take exactly how many parameters you need.
I.e:
PHP Code:
function getDist2(temp.x1, temp.x2) {
// code for just two points here
}
|
I kinda did that to save lines, but I get ya. I still have the whole problem of not being able to send the correct param array |
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
|
|
|