This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bit_8

Hi, I searched source code for 89S53 and found the followind strange declaration:

bit_8 month=1;

What is "bit_8"? Is it int or char type? I compiled it with no error in Keil. But it does not mention in Keil's help file. Anyone know?

Thanks,
pak

Parents
  • I searched source code for 89S53 and found the followind strange declaration:

    bit_8 month=1;

    What is "bit_8"? Is it int or char type?

    That would be revealed in some (probably) .h file in the same project.

    anyone can used any #define (here bit_8) to "shorten" the K&R types, what Joes chx means is not necessarily the same as what Bills chx means, you need to ask Joe or Bill.

    Erik

Reply
  • I searched source code for 89S53 and found the followind strange declaration:

    bit_8 month=1;

    What is "bit_8"? Is it int or char type?

    That would be revealed in some (probably) .h file in the same project.

    anyone can used any #define (here bit_8) to "shorten" the K&R types, what Joes chx means is not necessarily the same as what Bills chx means, you need to ask Joe or Bill.

    Erik

Children
No data