Aborts the current program or command file.
Syntax
Application.Abort AbortType
Parameters
AbortType
An AbortTypeEnum value the method used to terminate any currently running A-Shell program. The different methods represent different levels of severity.Remarks
Remarks
The following table shows the return string for each possible value of the VersionType parameter for A-Shell Version 4.7A(480)-1:
AbortType Enum Value |
Method of Program Termination |
jbaaCtrlc |
A ^C character (3) is sent to the A-Shell window. This will have no effect if Ctrl-C trapping has been disabled. |
jbaaForceCtrlc |
A ^C character (3) is sent to the A-Shell window after first ensuring Ctrl-C has been enabled. This will always be effective, but may still be trapped by a running program. |
jbaaExtRun |
Forces direct termination of any currently running program or command. This cannot be trapped, but execution of any command file will continue, which could cause processing to resume. |
jbaaExtCmd |
Forces direct termination of any currently running program or command, and clears any buffered command file lines. This cannot be trapped, and is guaranteed to force A-Shell to return to the command prompt. |
The Abort method does not terminate A-Shell. If complete termination of the A-Shell process (as well as any running program or command is required), then the Quit method should be used instead.