:: > :: 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. I don't know about 'standard' pascal (if there is such a thing), but in Turbo Pascal (and apparently Free Pascal) there are two types of 'const': const a = 10; { a real constant } const a : Integer = 10; { really an initialized static variable } -- Bob Ammerman RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist