In this case we have declared it at the global scope.
在这个例子中,我们可以在全局的作用域中定义它。
These object are available in the global scope and can be accessed from anywhere.
这些对象在全局范围内均可用,你可以在任何位置访问这些对象。
The method resets the added items and the global scope back to their original state.
此方法会将加入的项目和全域范围重设回它们的原始状态。
Things are different if you save a reference to the nested function in the global scope.
但如果你在全局作用域上保存了对内嵌函数的引用,事情就不一样了。
Within the global scope, electronic commerce develops fast with the unprecedented speed.
在全球范围内,基于互联网络的电子商务正以前所未有的速度迅猛发展。
First, check for Web workers by looking for the worker function in the global scope (window).
首先要通过在全局范围(视窗)中查找worker函数来检测Webworker。
Changes to the global variable from inside the function do affect the value in the global scope.
在函数内部对全局变量的更改会影响全局范围内的值。
You can define functions in the global scope instead of attaching those functions to objects as methods.
可以在全局范围内定义函数,而不是将那些函数作为方法附加到对象上。
If the global scope requires the result of the event handler, set the result in the global result variable.
如果全局范围要求使用事件处理程序的结果,请在全局结果变量中设置该结果。
Outside functions the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域引用全局作用域相同的名字空间:模块的名字空间。
A name declared local to a function hides the same name declared in the global scope (Section 2.3.6, p. 54).
在函数中局部声明的名字将屏蔽在全局作用域(第2.3.6节)内声明的同名名字。
Outside functions, the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域与全局使用域引用同一命名空间:模块命名空间。
You need to declare your enum before any of your functions, in the global scope (ie. outside of any function).
你需要声明枚举函数之前,在全球范围(即。
Outside of functions, the local scope references the same namespace as the global scope: the module's namespace.
在函数之外,局部作用域与全局使用域引用同一命名空间:模块命名空间。
UNICEF said its air pollution report USES satellite imagery to show the global scope of the air pollution problem.
联合国儿童基金会称其发布的报告用卫星图像显示了全球范围内的空气污染问题。
The city rivers pollution is one of the most serious environment problem which exist in the global scope generally.
城市河流污染是全球范围内普遍存在最突出的环境问题之一。
Under the global scope, the following definitions form scopes: module, interface, struct, union, operation, and exception.
在全局作用域中,以下定义组成了作用域:module 、interface 、struct 、union 、operation和exception 。
Any definitions that do not appear inside a scope are part of the global scope and there can be only a single global scope.
任何未出现在某个作用域中的定义都是全局作用域的一部分——只有一个全局作用域。
And we see how to specify that we wish to call the method in the global scope by just prefacing the call with the namespace operator.
并且我们看到如何指定以在全局空间内调用方法:只需使用名称空间操作符作为调用的前缀。
The global scope associated with a method is the module containing the class definition. (The class itself is never used as a global scope!
与方法关联的全局作用域是包含类定义的模块。 (类本身永远不会做为全局作用域使用!)
That help does not mean creating a new global authority to match the global scope of finance: the money for bail-outs ultimately comes from nation states.
该帮助并非是创造一个新的官方机构来适应金融的全球化,因为用于救助的资金最终要来自一个个国家。
Arnold Toynbee conducts his historical studies in a holistic way. He puts every civilization into the global scope and makes a comparative study of them.
汤因比的历史研究是从整体上进行的,他把每一个文明都放在世界的范围内比较研究。
If you declare a variable inside a class definition, that variable is available inside the class, and it cannot be accessed directly from the global scope.
如果在类定义内声明一个变量,则该变量仅在类内部可用,不能从全局范围访问。
As penalty goes towards being commuted and reprieved within the global scope, the fine penalty is being paid more attention, and people deepen the study on criminal fines.
随着全球范围内的刑罚轻缓化发展,罚金刑越来越受到人们的重视,对罚金刑的理论研究逐渐深入。
History: 1987, for the first time developed the first AIDS vaccine candidate, as of now, the global scope has been completed and ongoing clinical trials have a number of 170.
历史:1987年,首次研制出第一个候选艾滋病疫苗,截至目前,全球范围内已完成和正在进行的临床试验有170多项。
In recent years, with the spreading of narcotics in the global scope, the narcotic problem has become a complicated as well as important global problem in the non-traditional safety.
近年来,随着毒品在全球的泛滥,毒品问题成为非传统安全中一个复杂而重要的全球性社会问题。
Through simulation and large, the algorithm shown in a complex nonlinear optimization is fast, efficient, robust features of the strong, and the global scope effective search all the optimal solution.
通过大量仿真和比较,表明算法在复杂非线性优选中具有快速、高效、鲁棒性强的特点,并能在全局范围内有效搜索所有最优解。
For this customer, several components interacted heavily within the scope of a single global transaction.
对于此客户,多个组件在单个全局事务范围内进行大量的交互。
If a global transaction is present on invocation the component will be added to this global transaction scope.
如果在调用时存在一个全局事务,则该组件会被添加到该全局事务范围。
This example assumes that the data source is to have a global scope.
本示例假定该数据源将有一个全局范围。
应用推荐