you have a link to one in my post, did you miss it?
I think it is time you at least searched for some free material on line so you can at least read up a little on programming in the language you're attempting to try to code in.
get the basics down first and learn some programing logic along the way. It will benefit you in a long run.