I am in the habit of not declaring (dimensioning) variables in my functions (bit silly, I know). I want to reform!! I have an app that has many thousands of vars, and am about to write a little program which will scan INCL files and automatically generate the DIM statements at the top of each function. Then I thought - maybe somebody has already written one (and not told anyone, 'cause it really is cheating). I do have an ulterior motive - porting existing FB code to another platform where declaring is MUCH more critical (good job Staz). If so, I'd love to hear from you. Thanks, John