Hi S,Also remember that the default string length for Oshonsoft is 16 characters, including CR and LF. If your MSG1 is not declared larger and str_cnt is 3 digits, you will overflow that size in msg1.
Ok, I can adjust MSG1 if needed , but if you look at #17, you will see that MSG1 isn't the problem.
C