On Friday 04 June 2004 23:32, Igor Pokorny wrote: > 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. In the C language, if you declare a variable as static, that means that it is private to that module (source file). Consequently, it won't be visible to the linker and you will get link errors when you try to link to it. Regards, Jake. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu