Tip on Macro Scripts
TechTip of the Month Contest Winner of August 2004:
László Nagy's tip on Macro scripts
September 30, 2004
"(...)
I dont't know how well this is known, but I just found it now:
Indeed, be careful with the DEL TOP command:
- The DEL TOP command will delete all coordinate transformations in the calling script. Mr. Nagy suggests to delete only the number of done coordinate transformations in a macro.
- Place a BREAKPOINT command in the Macro the result of which evaluated to true (like BREAKPOINT DDDDD=0), then the debugger will stop in the Macro, and you can check the values of variables there. It can come handy when looking for the reason your script does not work the way you want it.
Page last updated: Thursday, September 30, 2004
