??? 05/24/08 04:47 Read: times Msg Score: -1 -1 Answer is Wrong |
#155072 - define macro in .h file Responding to: ???'s previous message |
Dear Cezara,
Best way to use a macro in multifile project is to define a macro in a header (.h) file. Then use #include statement with appropriate file name in all source code files. Mahesh. |
Topic | Author | Date |
Multifile macro | 01/01/70 00:00 | |
which assembler? show example. | 01/01/70 00:00 | |
example | 01/01/70 00:00 | |
Standard technique... | 01/01/70 00:00 | |
Which assembler, version and author ? | 01/01/70 00:00 | |
it doesn't work | 01/01/70 00:00 | |
i forgot the error | 01/01/70 00:00 | |
Not an assembler error | 01/01/70 00:00 | |
i think i miss something | 01/01/70 00:00 | |
long filename | 01/01/70 00:00 | |
define macro in .h file | 01/01/70 00:00 | |
That would depend | 01/01/70 00:00 | |
different | 01/01/70 00:00 | |
External Labels | 01/01/70 00:00 | |
i thought of it | 01/01/70 00:00 | |
show the one that works ans the one that do not | 01/01/70 00:00 | |
without extrn&public | 01/01/70 00:00 | |
strange assembler/linker | 01/01/70 00:00 | |
MISTAKEN | 01/01/70 00:00 | |
bellow | 01/01/70 00:00 | |
yes, for those that do not understand | 01/01/70 00:00 | |
IDE | 01/01/70 00:00 | |
anyone know this one? | 01/01/70 00:00 | |
Something doesn't stack up here... | 01/01/70 00:00 | |
Honesty | 01/01/70 00:00 | |
Suspiciously like Keil A51 | 01/01/70 00:00 | |
so does Raisonance![]() | 01/01/70 00:00 |