If your `foreach` body takes a global lock (like `writeln(i);`), then it's not going to run any faster (probably slower actually).**Ok I did have some debug writelns I commented out.**And did it help?
**No**My program is about 140 lines Steven. Its just one of the Advent of Code challenges. Could I past the whole program here and see what you think?
Thanks for your assistance...much appreciated.