I would like to ask if someone knows the reason why a linker consider to be an error when I declare global variable as a static in a main procedure. Such variables declared as an external in other modules are unknown for a linker. I use C18, version 2.2, MPLAB v 6.51 I do know declaring global variables being static is nonsense but I was considered the compiler and linker could be able to solve such declaration. Where I am mistaken? Regards Igor -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu