Command to terminate a script...!!!
Command to terminate a script...!!!
Hi
If I want to terminate a script at any line so that the compiler wont read anything below.
Just Like Code: Select allbreak; is a terminator to terminate the loop.
If I want to terminate a script at any line so that the compiler wont read anything below.
Just Like Code: Select allbreak; is a terminator to terminate the loop.
Command to terminate a script...!!!
What are you really trying to achieve?
When a Script runs the individual lines may be performed so fast that the exact manual termination at a specific position of the Script seems difficult to achieve.
If you just want to stop a Script without manual input wrap it in a function and insert
return
at the appropriate position.
I assume this would have to be connected to an if- or switch-clause for example, otherwise the subsequent lines (except functions that are called earlier) would probably make no sense.
When a Script runs the individual lines may be performed so fast that the exact manual termination at a specific position of the Script seems difficult to achieve.
If you just want to stop a Script without manual input wrap it in a function and insert
return
at the appropriate position.
I assume this would have to be connected to an if- or switch-clause for example, otherwise the subsequent lines (except functions that are called earlier) would probably make no sense.