Blitz (199/218)

From:Sami N��t�nen
Date:31 Aug 2001 at 12:58:09
Subject:Re: dec --> hex

amorel wrote:
> On 28-Aug-01, David McMinn wrote:
>
> 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).
>
> Actually I have not totally found it. Say I want to send a note on msg. That
> looks like this $90-$9f in which the 9 means note on and 0-f means the midi
> channel. I have got the midi channel stored in midi(1)\channel. I want to send
> this data using the structure array. Thus putserial $9midi(1)\channel does not
> work. And I think I can`t just do putserial $9+midi(1)\channel, just like 91
> is very different to 9+1.
>
> I guess I`m again overlooking the obvious here?

Just put it as $90+midi(1)\channel and off you go... ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie