Blitz (191/218)

From:MadGun68
Date:28 Aug 2001 at 21:20:59
Subject:Re: dec --> hex

Hi again,

> 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.

Better way of looking at it: 90 + 1 is not the same as 9+1.

putserial $9+midi(1)\channel won't work because $9 is 9 decimal. However,
putserial $90+midi(1)\channel might work. Then again, you can convert $90 to
144 and go from there.

Blitz does seem to allow the mixing of hex and decimal on the same line, so
I guess it would work wither way. Give it a shot.

Steve

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