Stick the byte into a 2 character array to produce a string, to
use your example:

Byte LRC[2];
LRC[1] = 0;
LRC[0] = makeLRCByte(CharPtr stringname);
StrCat(tempbuffer, LRC);

-Peter

> -----Original Message-----
> From: Webmaster [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 04, 1999 12:05 PM
> To: [EMAIL PROTECTED]
> Subject: Single Byte added to a string
> 
> 
> I have a function that returns 1 Byte that needs to be 
> StrCat'd on the end
> of a character string. what is the best way to do this since 
> a byte cannot
> be directly StrCat onto a string?
> 
> J Jenkins
> 
> 
> example:
> 
> Byte LRC;
> 
> LRC = makeLRCByte(CharPtr stringname);
> StrCat(tempbuffer, LRC);
> 
> very shoddy example, but it demonstrates what I need to accomplish....
> 
> thanks all!
> 
> 

Reply via email to