[futurebasic] Re : [FB] [FB^3] Can't get TEXT and COLOR to work on EFs

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: "jonathan" <jonnnathan@...>
Date: Mon, 20 Sep 1999 15:31:40 +0200
> Checked the FB II Reference and page 309
> says the constant for _boldBit% = 1. In the constants help for FB^3 it
> shows "_boldbit = 0".

This is not an FB^3 point, and has come up in the FBII list before.

putting '%' after a constant makes it 'set' that bit, so

_boldBit can equal = 0
_boldBit% will thus equal 1, as any bit0 of the byte will be switched on.

in the same way that if you have:
_myConstant = 2
_myConstant% will give you a value of 8 as the 3rd bit will be set.

Hope that this is clear