Tamas Rudnai wrote: > As you can see the variables declared with 'const' are really static > (like the 'static' directive in C) while the ones with the 'var' are > 'auto' variables (aka sits on the stack). I find this at least not intuitive. I'd expect a const to be constant. This thing with v3 is akin (in C) to use a pointer to non-const to point to a const. Looks like a nice hole in the typing :) Is this really the only way to create a static variable? Can't you have a global (that is, outside of a procedure) var section? Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist