|
Hi Rene, I don't know what you have been coding but a small test on version 2.1 of Code Composer Studio performed showed that it works nothing is forbidden... #include <stdio.h> main() { //int mydata[100]; // doesn't work //int far mydata[100]; // doesn't work //int near mydata[100]; // doesn't work //far int mydata[100]; // doesn't work static int mydata[100]; // works mydata[0] = 0x55; mydata[1] = 0xaa; mydata[2] = 0x33; printf("This is just a test %d ", mydata[1]); } please could you give me a direction which version of Code Composer Studio are you using DSK or Full version. I tested also with the version 2.0 and works the same for me as with version 2.1... Best regards, Ferry European-PIC -----Original Message----- From: Rene Tschaggelar [mailto:] Sent: Monday, February 25, 2002 2:17 PM To: Subject: [code-comp] Bug in Codecompose Studio 2.0 for C6201 - local arrays I found local arrays are forbidden. There is no feedback, the code just does not work at all. main(){ int mydata[100]; // doesn't work int far mydata[100]; // doesn't work int near mydata[100]; // doesn't work far int mydata[100]; // doesn't work static int mydata[100]; // works is there a workaround ? Rene -- Tel. 01 / 633 47 39 HCI F236 ETH Hoenggerberg _____________________________________ |