Problem posting code!

You could put your code on a web site and just post the link. Or you could break it up into two or more posts.

Better still, still try and produce a smaller programme that illustrates your problem, you might find in trying to do that you actually solve your problem for your self. If not others can more easy analyse a small program than a big one.