1·How to declare an 'extern' variable in VBA?
如何声明一个“外来的”变量在VBA吗?
2·As Dietmar Kühl said, without "extern", you have multiple definitions of the same variable which will violate ODR.
迪特马尔库尔说,没有“外来的”,有多个同一变量的定义,这将违反ODR。
3·This variable is then merely declared as an extern variable inside the main .
此变量然后仅仅声明为一个外来的变量在主。
1·Why can function defined in a different file access variables defined in that file without extern?
为什么在不同的文件中定义的函数访问变量定义在文件没有外面的吗?。