| ??? 09/13/02 11:00 Read: times |
#29114 - RE: Const in data, Luca |
Hi Luca,
I don't know, if this was the correct way, but it works with the Keil. E.g.: File "dig_io.c51: sbit IALIM = dig_in[0]^0; File "dig_io.h": extern const bit IALIM; And "dig_io.h" was included only into the other objects, which need access to this variable. Peter |
| Topic | Author | Date |
| Define Vs Constant | 01/01/70 00:00 | |
| RE: Define Vs Constant | 01/01/70 00:00 | |
| RE: Define Vs Constant | 01/01/70 00:00 | |
| RE: Define Vs Constant (Andy) | 01/01/70 00:00 | |
| RE: Define Vs Constant Luca | 01/01/70 00:00 | |
| RE: Define Vs Constant (Andy) | 01/01/70 00:00 | |
| RE: Define Vs Constant (Luca | 01/01/70 00:00 | |
| RE: Const in code | 01/01/70 00:00 | |
| RE: Const in code, Andy | 01/01/70 00:00 | |
| RE: Const in code, Andy | 01/01/70 00:00 | |
| RE: Const in data, Luca | 01/01/70 00:00 | |
RE: Const in code, Luca | 01/01/70 00:00 |



