STOP        Terminate script file execution

Top  Previous  Next

Syntax:

STOP

 

Arguments:

None

 

Options:

None

 

 

 

This script command ends script processing . The action is the same as clicking the Stop button on the Robo-FTP toolbar or pressing the (Esc) key while a script file is executing.

 

Caution

The STOP command should never be used in scripts that are to run continuously such as scripts used when Robo-FTP is running as a Windows service.

 

When scripts are run as the result of the CRON or CALLcommands, it is also doubtful that STOP is a valid command in any such script - to exit from a script under such circumstances refer to the RETURN command.

 

If Robo-FTP is running in a minimized window (i.e., as an icon) or as a Windows service when STOP is executed, the action is the same as executing the EXIT command - namely, Robo-FTP terminates.

 

STOP may also be used to stop running a script when it is in the break state (as the result of using the BREAK script command during debugging).

 

Related Command(s): BREAK, EXIT, GO, RESUME, RETURN