|
Hey Chris,
Thanks for the quick reply. I've tried a handful of things that I thought you meant but none of them seem to make a difference. I'm kind of following what your on about but its not falling into place yet.
I've tried setting a var coords before the functions and tried to feed point into that to give it to something global before it exits and that makes no difference. I've moved the return code around the function but not found a place where it will output the value of point. Am I returning wrong... the only way I can think of is return point ;. I'm used to PHP and this is melting my brain a bit. Can you offer an example of where I'm going wrong?
Cheers
Leonard
EDIT: I think I have it, I'm not 100% sure what made it start working. I think I put something in while trying to fix it that ultimately broke it, but its returning [Object, object] now which is right I think. Just need remember how to use that now!
If you could fill me in a little more on where I was going wrong it would be much appreciated
EDIT EDIT!:
OK I'm actually stumped on this one. That Object, object seems to have nothing to do with point, if I try and set it as the string "toffee" then is still comes back object Object, in fact if I remove it completely it still does the same. What do I need to be doing?
Last edited by Gentleman_; 12-10-2008 at 11:00 AM..
Reason: Cleaner then posting in response to myself!
|