EXECUTE ["filename"] [K times] |
Executes commands that have been stored in a file. These command files are called Execs.
The default file extension for Execs is MTB. When using EXECUTE, you do not need to type the file extension if it is MTB. The default file name is Minitab.MTB-if you do not specify a file name with EXECUTE, Minitab looks for the file Minitab.MTB and runs the file if it exists.
The optional argument K lets you specify how many times to run the Exec. K can be any integer. The default value is one, which means that the macro will be executed one time. If K > 1, the macro is executed K times. If K < 0, the macro is not executed.
To interrupt the execution of an Exec, press <Ctrl>+<Break>. Minitab will finish executing the command in process before it stops the macro.