123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|676|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Nibbles...

Mon, 16 Apr 2018, 12:40
Dabz

Nibbles...


Right, am I getting stupid here and have a massive bit of brain rot...

I want to chop a byte into 2, high nibble and low nibble, now my brain tells me this:-



But it's outputting 15 for both nibbles in Blitzmax.

Now I'm not being thick am I? I've used nibbles in the past to squeek more info into a byte, and I'm bloody sure that worked!?!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Mon, 16 Apr 2018, 13:02
TomToad
Blah & $0F

And is logical, & is bitwise.
Mon, 16 Apr 2018, 13:07
Dabz


lol, yeah, I clicked on when I tested it in C++!!!

What a divvy!

So just to confirm... I am thick! hehehe

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Mon, 16 Apr 2018, 13:11
Dabz
Now I forgot what I was wanting to do with them, lol!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Mon, 16 Apr 2018, 13:26
Jayenkai
I’ve had that issue SO many times!! I think, iirc, Blitz2D/3D used And, whilst Max and monkey used &.. or something.. I definitely remember using And at some point!!

-=-=-
''Load, Next List!''
Mon, 16 Apr 2018, 13:33
Dabz
Aye...



Works... I think I just said "And" in my head and it popped out of the fingers onto the screen!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit