|
|
|
|
- Reason
- Correction
- Example
- Two global variables with the same name but with different types are used
Error 106: Redefinition of a global variable
You are trying to declare a global variable. The name of this variable has already been used by another global variable found in the project or in the current window. Rename one of the variables or delete the useless declaration. Two global variables with the same name but with different types are used Code triggering the error // -- Initialization code of project GLOBAL b is int  b is string
Possible correction Rename the second variable. // -- Initialization code of project GLOBAL b is int  c is string
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|