From: | amorel |
Date: | 28 Aug 2001 at 16:00:51 |
Subject: | Re: dec --> hex |
On 28-Aug-01, David McMinn wrote:
C=If you just want to transmit the *numeric* *value*, just send the number.
C=You don't need to convert it to hex. A number is the same no matter what
C=base it is in.
C=If you do actually have to send a *string* with the hex representation of
C=a number in it, you'll need to use whatever command there is for sending
C=strings, or send it one character at a time manually if there isn't one
C=(which I doubt).
Well, midi messages are mainly written in hex codes. Thus it`s handiest to
just send hex. And I was thinking I couldn`t just do int($3c) as it somehow
didn`t work, but a quick try in a short program proves it does work.
And yes I just need to send the hex value and not the string.
Regards
-*Take me dancing naked in the rain, Amoralplayer a no fuss audioplayer*-
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie