| ??? 10/31/02 18:18 Read: times |
#31782 - KEIL: How to send a table to a function |
Hi all,
I'm using Keil, but I think my issue is more a C langage issue. I'd like to transmit a table to a function I've wrote the code below but the problem is that even if I change the 'variable' values, the compiler always uses old values for which I don't know how it has kept it ! Any idea ? Thanks Stephane *** file1.h *** xdata variable[]={0x01, 0x02, ....}; //128 values *** file 1.c *** ..... #include <file1.h> ..... void function1 () { ..... Display(variable); ..... } *** file2.c *** void Display (U8 *variable) { .... } |
| Topic | Author | Date |
| KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table to a function | 01/01/70 00:00 | |
| RE: KEIL: How to send a table - James | 01/01/70 00:00 | |
| RE: KEIL: A-men Andy | 01/01/70 00:00 | |
RE: KEIL: global variables | 01/01/70 00:00 |



