I made this OT as it isn't reaaly Pic'ish anymore. :: As you can see the variables declared with 'const' are really :: static (like :: the 'static' directive in C) :: const :: globConst: Integer = 999; :: :: :: procedure test ( par: Integer ); :: const :: v1: Integer = 0; { it's a static variable } Surely that goes against what a const is, in that a constant is a contract between the coder and the compiler that that value will NEVER alter? I'm off to rediscover my Pascal tutorial books, see what they say. Colin -- cdb, colin@btech-online.co.uk on 3/07/2009 Web presence: www.btech-online.co.uk Hosted by: www.1and1.co.uk/?k_id=7988359 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist