you'll have to parse the string on the PC side. look for instr MID$, LEFT$ well at least those VB command.
Also The Bruce Website may give you some pointers...
http://www.rentron.com/parsingstrings.htm
Say thanks to Bruce to provide such great free stuff 
Personnaly i never send preamble, just send all value to PC then parse the string. USE DEC3 for byte, DEC5 for word ensure to have a fix string format
Code:
a var byte
b var byte
c var word
a=10
b=100
c=12345
hserout [dec3 a, dec3 b, dec5 c]
this will send 01010012345 in a fix string format (length). Easy huh!
Last edited by mister_e; - 13th November 2005 at 19:31.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks