Hi Paul
If the first is trivial (Not worth doing, or blatantly obvious) Yes it is but it does not work and the second waists resources what do you suggest to do?
Printing using one statement is, or at least that is what I think needs to happen. Like I said if I print over multiple lines of code still actually printing on the same line the first print is where I come unstuck.
eg instead of printing ,a,b,c/d/e/f/g/h,i (example only not what I am trying to print) I may get /e/f/g/h,i or sometimes the first line will be the whole thing or others even less h,i
This only happens on the first line when the serial port is opened after that is is not a problem.
Thus creates a problem when parsing data in the VB program.
UKHeliBob
Thanks for the pointer about sprintf() and/or snprintf() I think that that would work however I am not confident in adding the code to the header files. Is there a lib that you know of that can handle this?