Hi,
Is there a Javascript alternative to 'application.exit()'??
I have a standalone javascript application that invokes local dll's to interact with another application's API suite -(no interaction with a web browser at all in this instance).
I have created a simple JS file but want to stop execution at a certain point if conditions are not met. I cannot find any way of doing this other nesting the code in 'if' statements so that it naturally flows to the end of the file without invoking any further commands.
I'm looking for an End/Stop/Exit command that will just stop the JS file from executing any further code and simply exit? Does this exist???
Cheers
Darren
Is there a Javascript alternative to 'application.exit()'??
I have a standalone javascript application that invokes local dll's to interact with another application's API suite -(no interaction with a web browser at all in this instance).
I have created a simple JS file but want to stop execution at a certain point if conditions are not met. I cannot find any way of doing this other nesting the code in 'if' statements so that it naturally flows to the end of the file without invoking any further commands.
I'm looking for an End/Stop/Exit command that will just stop the JS file from executing any further code and simply exit? Does this exist???
Cheers
Darren