Can these functions access variables defined outside its scope?
这些函数可以访问在它的范围之外定义的变量吗?
Why can function defined in a different file access variables defined in that file without extern?
为什么在不同的文件中定义的函数访问变量定义在文件没有外面的吗?。
A scope activity can contain more scope activities within it, so activities within a scope can also access variables of all enclosing scopes.
范围活动可以在其内部包含多个范围,因此范围中的活动也可以访问所有封闭范围的变量。
So, you can access the process variables from any code block.
因此,你可以从任何代码块访问流程变量。
As mentioned earlier, each object can also cache the JNDI references it USES in instance variables, so that each object only has to access a reference one time.
正如前文所述,每个对象也可以缓存它在实例变量中使用的JNDI引用,所以每个对象在某一时刻只能访问一个资源。
In this start of our output script, we simply create variables to store our username and password for access to the database located at localhost.
在输出脚本的开头,我们只是创建变量来存储可以访问位于本地主机的数据库的用户名和密码。
Another important aspect of global variables is that when security of the information is an issue, controlling access is possible.
全局变量的另一重要方面是,当考虑到信息安全问题时,可以控制对信息的访问。
Inline human tasks have access to the process context and thus they can also access process context variables.
内联人工任务可以访问流程上下文,因此它们也可以访问流程上下文变量。
New refactorings - There is a new extract class refactoring, which extracts a group of variables into a class and preserves member access.
新的重构——有一个新的提取类重构功能,它把一组变量提取到一个类中,并且保留了成员访问函数。
The indexed addressing mode makes the most sense as a way to access array elements for global variables.
索引寻址模式对于全局变量访问数组元素来说是最为有效的一种方式。
Because inline human tasks have access to the process context, they can access process context variables.
因为内联人工任务可以访问流程上下文,它们可以访问流程上下文变量。
For SQL statements with variables, the optimizer USES a default filter factor to determine the best access path at bind time.
对于带变量的sql语句,优化器会使用一个默认过滤因子在绑定时确定最佳访问路径。
Access to variables from within event handlers is governed by WS-BPEL scoping rules.
从事件处理程序内访问变量受到WS - BPEL范围规则控制。
More elaborate initialization scripts can do a lot more, declaring global variables to be maintained by the server, setting up access privileges, and so on.
更复杂的初始化脚本能做更多的事,包括声明由服务器维护的全局变量以及设置访问权限等等。
The code that accesses the actual card registers should now be changed to access the local variables that mimic the device's registers.
访问实际硬件(卡)寄存器的代码现在应该进行一些修改,访问模拟设备寄存器的本地变量。
All other tasks must access process variables.
所有其他任务必须访问流程变量。
Data is stored in global variables called data fields, which the activities can access.
数据存储在各种活动可以访问的名为数据字段的全局变量中。
Reads and writes of atomic variables have the same memory semantics as read and write access to volatile variables.
读取和写入原子变量与读取和写入对可变变量的访问具有相同的存取语义。
Another important aspect of global variables is that where security of the information is an issue, controlling access is possible.
全局变量的另一重要方面是,在考虑到信息安全性时,可以对访问进行控制。
Closures are powerful because they enable inner functions to retain access to an outer function's variables even after the outer function has returned.
闭包功能非常强大,原因是它们使内部函数在外部函数返回时也仍然可以保留对此外部函数的变量的访问。
The activities within a scope have access to any variables that belong to that scope.
范围中的活动有权访问属于该范围的任何变量。
In this strategy, you'll access the device's register the same way as in strategy 1 — using local register variables.
在这种策略中,我们将采用与策略1中相同的方法来访问设备的寄存器,也就是使用本地寄存器变量。
DBI defines methods, variables and conventions for database access.
DBI定义了访问数据库的方法、变量以及约定。
Listing 10 shows you how to access the global variables whenever and wherever you need to.
清单10向您展示了在需要时如何访问全局变量。
Although you should avoid name hiding (giving local variables the same names as attributes), the use of accessors to always access attributes means you can give local variables any name you want.
虽然应该避免名称隐藏(为本地变量赋予与属性相同的名称),但是始终使用读写方法来访问属性意味着:可以为本地变量赋予任何名称。
We also refactor the code to have all three actions as fields (rather than local variables) so we can access them from three methods. Let's see the final version of Explorer (Listing 10).
我们还重构了代码,将这三个操作作为字段(而不是局部变量),这样我们就可以用三种方法来访问它们。
The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.
第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和private 关键字。
The AppConfig: : State instance is not passed to VALIDATE subroutines, so we can't access other variables in our configuration easily.
State实例没有被传递到validate子例程,所以我们不能容易地访问配置中的其它变量。
The AppConfig: : State instance is not passed to VALIDATE subroutines, so we can't access other variables in our configuration easily.
State实例没有被传递到validate子例程,所以我们不能容易地访问配置中的其它变量。
应用推荐