C51: My Program code is distributed over multiple files, I want to access a variable declared in another file.
My Program code is distributed over multiple files,
In that case, you are probably already using the extern specifier for some of your functions, I guess ?
You can use the extern specifier to access global variables defined in other files, too.