I need to send ASCII 255 character.

I can send strings, but how do you send Ctrl C for example? Which is 2 in 
ASCII.Printable smile face.

What is wrong with this code?

Int16 DecValue=255;
byte_sent=SerSend(Refnum,&DecValue,1, &error);
        
Int16 ControlC=2;
byte_sent=SerSend(Refnum,&ControlC,1, &error);

I looked at the SDK Reference and I think I am doing this correctly.

Thank you
Rob 




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to