Sorry thats because its the same code coped again, im not that concerned about { and } because i only need to add or delete them the bigger problem wich i cant explain is the error mesage in one and not the other its the same code as far as i can tell.
I dont want to seam dim or ignorant i just want to solve one problem at a time the first one listed is the
" error: 'pulseCounter' was not declared in this scope"
So why is this happening ?
Pesh
oh i will make the corections youve advised thanks for the help so far