Cross Compiler Frequently Asked Questions
Module and function static variables combine the aspect of hiding for other parts of the program (reduced visibility scope in comparison with global variables) with a fixed memory location ...
The last aspect allows inspection of the variable even when the instruction pointer is in a foreign scope. Universal Debug Engine supports this feature.
Size and speed of the target program is not influenced if you use a data type enum instead of integer.
The benefit is the symbolic background. Instead of numbers enums tell in a text form about states and values of the target program. UDE supports the text display of enums in Locals and Watch window. To change enums a context menu offers all possible values also in textual form.