I am trying to set up a small number of global variables in using Hi-Tech's PICC product. I am presently using the format provided in the K&R C book (ANSI), 2nd Ed, page 32 and I am still getting this warning: c:\pic\picctest\picctest.c: 31: external declaration inside function (warning) The PICC manual only mentions the extern keyword in association with assembler files & integrating them with C code. The K&R examples seem to imply that using extern within a function is perfectly valid, and I really can't get a picture on how PICC likes to handle them, as their example lines are stand-alone, aren't put into sample code fragments. Is there another way to make global variables exclusively using C code? Jeff -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body