Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bool
#7
slenkar Wrote:
Code:
DIM ar(23, 3) as Ubyte ' 24 x 32 bits.
just curious, (in case I want to make an array of a different size)
how does 23,3 translate into 24,32
The array goes from 0 to 23 (24 rows) and from 0 to 3 (4 bytes = 32bits). So you have 24 x 32bits (1 bit per screen cell).
slenkar Wrote:
Code:
IF GetBool(ar, 3, 20) THEN
...
END IF
so the numbers 3,20 correspond to my screen co-ordinates?

thanks for the help
Yep, the are screen coordinates, and ar your byte array.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)