在模块、类或结构(而非函数)中声明的变量,被 称为模块变量(Module Variable)。在声明模块变量以后,就 可以对其进行赋值操作,使用访问修饰符指定其作用域,并 在作用域范围之内使用该变量。
基于18个网页-相关网页
这是更好地重新申报模块或参考单独模块变量?
Is it better to re-declare variable in module or reference separate module?
几乎所有其他视图的内容,包括源代码编辑器、监视器、注册表、模块、变量和内存视图,都会基于活动调试过程来得到更新。
The contents of almost all the other views, including the source editor, Monitors, Registers, Modules, Variables and Memory views, will be updated based on the active debug session.
清单9给出了基本的模块函数和变量。
Listing 9 presents the basic module functions and variables.
I'd really like to have that modularity that says, I'm only going to get access to the values, not by calling their names, but by calling some specific method to get access to their names.
这样我们就丢掉了代码的模块化,我很希望代码有这样的模块化:,我访问变量的值,不是通过直接调用它们的名字,而是通过调用某个可以,访问这些变量名的方法来访问。
应用推荐