From the drop-down list you can see that there are four types of scoped variable.
从下拉列表中您能看到有四种范围变量。
The var and scope attributes specify a scoped variable for storing the parsed document.
var和scope属性规定存储分解后的文件的scoped变量。
The var and scope attributes specify a scoped variable for storing the results of the query.
var和scope属性规定存储查询结果的scoped变量。
This is done by specifying a value for the varStatus attribute and then accessing the count property of the resulting scoped variable.
它是通过为varstatus属性指定一个值,然后访问所生成的限定了作用域的变量的count特性来实现这一点的。
The var and scope attributes are used to specify a scoped variable that -- as a result of <fmt:parseDate> -- the Date object is assigned to.
var和scope属性用来指定限定了作用域的变量(作为 <fmt:parseDate> 的结果),将把Date对象赋给该变量。
Similarly, when a DB read or update is performed, a SQL query result is stored in the $dbResult variable, which is also a global-scoped variable.
同样,在执行数据库读或更新时,将一个SQL查询结果存储在 $dbResult变量中,这也是一个全局变量。
If an exception was raised, then assignment to the scoped variable will occur: as the EL expression in Listing 18 suggests, its value will not be empty.
如果产生了异常,那么就会对那个限定了作用域的变量进行赋值:如清单18中的EL表达式所显示的那样,该变量的值将不会为空。
If the var attribute is present, the transformed XML document will be assigned to the corresponding scoped variable as an instance of the org.w3c.dom.Document class.
如果var属性存在,转换后的XML文件将分配给相应的scoped变量,作为or g .w3c . dom . document类的一个实例。
The var attribute causes the content fetched from the specified URL to be stored (as a String value) in a scoped variable, rather than included in the current JSP page.
var属性会导致从指定URL获取的内容(作为String值)被存储在一个限定了作用域的变量中,而不是包含在当前 JSP 页面中。
If the var attribute is specified, then a scoped variable with the indicated name will be created and assigned the current value of the index for each pass through the iteration.
如果指定了var属性,那么将会创建一个带有指定名称的并限定了作用域的变量,并将每次迭代的当前索引值赋给该变量。
By default, a variable is scoped to the function in which it is first assigned to, or is global if its first assignment occurs outside any function.
默认情况下,变量的范围是变量第一次被分配到的函数的内部,如果它的第一次分配出现在任何函数的外部,那么它就是全局变量。
The $onlyOne variable is said to be a class attribute, as it is scoped to the class.
$onlyOne变量是一个类属性,因为其作用域是这个类。
There are two types of scoped memory, linear and variable which refers to the time required to instantiate an object.
Scoped内存有两种,线性的(linear)和可变的(variable)——这是指它们实例化一个对象所需的时间。
A variable field in a class is similar to a global or function variable, except that it is scoped to the class and it can have various attributes governing its visibility and usage.
类别中的变数栏位与全域或函式变数类似,但它只能在类别范围中作用,而且可以具有控制可视性与用法的不同属性。
A variable field in a class is similar to a global or function variable, except that it is scoped to the class and it can have various attributes governing its visibility and usage.
类别中的变数栏位与全域或函式变数类似,但它只能在类别范围中作用,而且可以具有控制可视性与用法的不同属性。
应用推荐