08-02-2008, 06:08 PM
If you're looking for errors, try debugging.
Before a macro runs first time, or after editing, QM at first compiles it. If there are syntax errors, the compiler stops, prints error message in the QM output, and highlights that statement or part of statement.
The compiled code is not native machine code, but it is executed much faster than a non-compiled script.
The out command is useful when debugging. It can display variables, expressions, simple and formatted text in the QM output. Other useful commands: mes (show message box), deb (show commands while they are executed), bee (play short sound), LogFile (log to a file). To quickly disable/enable a single command or several selected commands, right click the selection bar. To handle run-time errors, use the err statement.
Macro
Before a macro runs first time, or after editing, QM at first compiles it. If there are syntax errors, the compiler stops, prints error message in the QM output, and highlights that statement or part of statement.
The compiled code is not native machine code, but it is executed much faster than a non-compiled script.
The out command is useful when debugging. It can display variables, expressions, simple and formatted text in the QM output. Other useful commands: mes (show message box), deb (show commands while they are executed), bee (play short sound), LogFile (log to a file). To quickly disable/enable a single command or several selected commands, right click the selection bar. To handle run-time errors, use the err statement.
Macro
Taking on Quick Macros one day at a time