You can define a variable of type bit that can have values 0 or 1?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Mar 28, 2009 11:08 am
Use 'int1' for this.
Code:
int1 flag;
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Sat Mar 28, 2009 12:05 pm
Note that depending on the processor, the first few of these int1s take no RAM. The compiler fits them into unused register bits! _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum