:
: : Is that what you wanted??
: :
: : -- Secret_Doom - Leonardo Pignataro --
: :
: Sure, but it seems like there would be a command for it.
: I will use your way, but if you find a command for it, please tell me!!!
:
:
Visual Basic
: ~
Andy
~
SuperJoe30
~
: My Website:
:
http://www.geocties.com/joesarcade 
:
JavaScript
:
:
:
I haven't tried it myself but java has something called 'return'
This MIGHT work:
function int functionName(){
:
:
if( I_want_to_exit == 1 )
return 0;
else{
:
:
}
// And you MUST include this at the end of the function
return 0;
// although the '0' can be replaced by any int value
}
As I said I don't know if it will work in javascript but it works in
java...
____________________________
Forever trust in who we are,
And nothing else matters.
-Metallica_
____________________________