/LOOP /SCRIPT /PROMPT /PROGRAM /COMMAND /CYCLE
PyFerret Only: /TOPYTHON
Without a qualifier, when issued interactively and without a qualifier EXIT terminates program Ferret. When executed within a command file, EXIT terminates the execution of the command file and returns control to the level in Ferret that executed the file (the user or another command file).
Command qualifiers for EXIT:
When executed from within a REPEAT loop, Ferret will stop execution of that loop and return to the level in Ferret which executed the loop.
When executed from within a REPEAT loop, Ferret will skip the remaining commands in the loop and continue at the start of the next repetition of the loop.
When executed from within a script, this command will terminate the execution of that script and return control to the level in Ferret which executed the script (either the user or another command file).
When executed at any point, either in a script or loop, this command will immediately terminate execution and Ferret will return to the"yes?" prompt and return control to the user.
When executed from within a command file EXIT/COMMAND_FILE or EXIT/PROGRAM forces an immediate exit from Ferret without returning control to the user or another command file.
Exits the Ferret command-line interface and returns to the Python interface. To return to the Ferret command-line interface, enter pyferret.run() at the Python prompt.