In all likelihood it's still due to misplaced brackets or you still have functions defined within functions. This is why proper indentation is important. It makes such things much more apparent.
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Sulley's Boo commented: :D +4
piers commented: you have helped me a lot with java thnx +1