From: | David McMinn |
Date: | 28 Aug 2001 at 17:12:59 |
Subject: | Re: dec --> hex |
Hi amorel
> Ok, now I got a new problem.
> How would I use the resulting string in a command which doesn`t accept
> strings. Like: putserial output$
>
> Putserial $3c for example does work. How do I put the string in a form
> which will be accepted? Putserial $output$ doesn`t work, for example.
If you just want to transmit the *numeric* *value*, just send the number.
You don't need to convert it to hex. A number is the same no matter what
base it is in.
If you do actually have to send a *string* with the hex representation of
a number in it, you'll need to use whatever command there is for sending
strings, or send it one character at a time manually if there isn't one
(which I doubt).
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie