Accessed Variable Checker

I see your point. Likely prudent for most use cases.

Also, after thinking about this some more, I remember that when I was creating a macro with some overlapping features, I ran into an issue: if only passing %AccessedVariables% to the submacro, it's not trivial to retrieve the caller's variable values.

With that said, Variable Inspector Prompt and Dictionary Editor (by @DanThomas) includes this necessary logic.


The goal would be to limit the number of reported variables, i.e., report a subset of %AccessedVariables% (applying the two regex's to the variable names).

I have some complex macros with tens of variables. When debugging, I'm often only interested in a few.

No offense if you don't want to complicate your simple, yet elegant, approach.

1 Like