Quote Originally Posted by mike1939 View Post
Right, m comes out of the blue, just a byte variable as demonstration that inclusion of m=m+1 causes failure.
How do you use code tags when posting code?
Rgds
Code Tags:

[_code]
Anything here will be in the tag.
Remove the _ to make it work.
[_/code]