Quotes to explain whats wrong with this code

Hi i'm getting frustrated trying to do what is usually a simple task for me of removing some parts of an existing code but keeping it working as whatever remove i seem to break the code.

I have not paid for help before so im new to this but if you want to check out the problem here (Solved) GSM controller errors modifying original code - Programming Questions - Arduino Forum then give me a quote to explain what i'm doing wrong that would be great, i don't think i need any code just some advice on whats giving me the errors as the code works well until i try to remove functions which i cant see are needed anywhere else. The accepted quote payment would be via PayPal.

Ultimately i'm looking to slim the original tested working code down to two channels input and output then start adding my own functions which is how i usually edit code but this one has me stumped as everything i remove gives me not declared in this scope errors on all main functions after.

Thanks
Sam

You're missing a "}" at line 279.
Remove "or (Do3 == true) or (Do4 == true)" at 361.
Delete 1146, 1147, 1153, 1154, 1160, 1161.

... and then it should compile.

arduarn:
You're missing a "}" at line 279.
Remove "or (Do3 == true) or (Do4 == true)" at 361.
Delete 1146, 1147, 1153, 1154, 1160, 1161.

... and then it should compile.

Wow i knew it would be something simple i added the } and it fixed it, i had already spotted the do3 and 4 and removed them tonight but i also left some functions in for 3 and 4 in another place but i easily found them after fixing line 279!

Thank you so much for your help i can finally proceed with my project now and you didn't even ask for payment, do you have PayPal so i can send something anyway as a thank you?

May i also ask how you found that so easily?

SamCraig89:
Thank you so much for your help i can finally proceed with my project now and you didn't even ask for payment, do you have PayPal so i can send something anyway as a thank you?

May i also ask how you found that so easily?

You're welcome.

The quickest way to check for missing braces and similar is just to pretty print your code using "Ctrl-T" or "Tools->Auto format" from the menu. If you scroll to the bottom of the sketch you'll notice the indentation is not correct, so just a matter of working your way back to where the mistake is.