Hi Guys. I'm hoping someone here knows how to do this.
I have a function, let's say:
Now, as you can see, if all is run then it returns valid. But how do I use an if statement to find out what this particular function has returned?
Like:
Any ideas?
Thanks.
I have a function, let's say:
Code:
function dosomert()
{
doing some stuff;
return valid;
}
Like:
Code:
function checkvalid(){
if (function dosomert.returned='valid'){
do something else;}
}
Thanks.
Comment