• Global variables
    Keil MicroVision is new to me and I cannot get the variables in one function to be global because there is no "PUBLIC" command. How do I make it so a variable can be changed by any function. BTW I'm...
  • Global Variables
    I have had a hard time creating a global variable. In other C progams, all I have to do is just declare it above the Main() function. I am using Dave and the Keil evaluation compiler. I am trying to creat...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...
  • Global variables
    I have a problem running my program into ram memory if i declare a global variable into my code i have to unchecked the option "use memory layout from target dialog" from L166 options menu. Once i have...
  • Global Variable.
    In my project I have two files. as follows File A int x; main() { x=2; } File B extern int x; { x=4; } When I compile both files independatly, there is no error. When I link both modules...