Skip to main content
7 events
when toggle format what by license comment
Jul 6, 2020 at 16:16 comment added Cerezo @Mike In my scenario, i have different source files that i manage as "classes / objects". A variable name like "count" used in each context should not affect readability. or ?
Jul 2, 2020 at 4:41 comment added Mike Even with staticyou should'nt use the same name for different variables for readability.
Jun 30, 2020 at 16:11 history edited JRE CC BY-SA 4.0
deleted 13 characters in body; edited title
Jun 30, 2020 at 15:31 comment added Cerezo @EugeneSh. Thanks for this. I just read up on the "static" keyword and it makes sense now. If i do use the "static" keyword to limit the scope to a single source file, i am assuming references in the source wont conflict right ?
Jun 30, 2020 at 15:14 answer added Justme timeline score: 2
Jun 30, 2020 at 15:02 comment added Eugene Sh. You are not allowed to use same name for global variables, unless these are static. This is standard C, not specific to XC8
Jun 30, 2020 at 14:54 history asked Cerezo CC BY-SA 4.0