Robin2:
I thought I had already advised the OP to do that sort of thing.
I haven't read the whole thread, obviously. It's going to say all the usual things that threads named "I want to merge N sketches" says. You don't "merge" sketches - you write a sketch that does what you want.