This clears the value of an assigned variable. This can be a single value, or an array of values.
此函式在清除某个指定变数的变数值,变数值可以是单一值,或是阵列值。
The other way is to assign objects to the templates and access them much like any other assigned variable.
另一种方式是将物件指定给样板,然后用取得其他指定变数值的方式取得物件。
This returns the given assigned variable value. If no parameter is given, an array of all assigned variables is returned.
返回一个指定的已赋值的模板变量的值。如果不指定参数,则返回一个包含所有已赋值模板变量的值的数组。
Variables are always assigned by value, which means that when one variable is set equal to another variable, they are then independent of each other.
变量始终是由值指定的,这意味着设置一个变量等于另一个变量后,它们就相互独立。
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.
默认情况下,变量的范围是变量第一次被分配到的函数的内部,如果它的第一次分配出现在任何函数的外部,那么它就是全局变量。
When this is not assigned to a variable or no further functions are performed, it will by default print a sample result set to the screen.
如果没有分配一个变量或没有执行其他函数,它将在屏幕上默认打印一个样例结果集。
To find the bug, we have to trace back through the flow of control to find out where the variable was assigned and determine whether doing so was incorrect.
为了发现错误,我们必须通过控制流跟踪,以发现变量在哪里被赋值,并确定是否这么做是不正确的。
Variable values can also be changed in the view, and if you edit a variable from the variables view, the new value assigned becomes effective immediately.
变量值也可以在视图中得到更改,而且如果您从变量视图中更改了一个变量的话,那么分配的新值就会变得立即变得十分有效率了。
While the target variable is guaranteed to be only assigned once, the delegate may be called by multiple concurrent threads unless a synchronization object is passed in.
这保证了目标变量只会设置一次。不过,如果没有使用同步对象的话,委托可能会被几个并发线程调用多次。
A view could use the value of this global variable in a predicate to select only those rows for which the user's department is assigned.
视图可以在谓词中使用该全局变量的值,从而只选择分配给用户所在部门的行。
Type inference is not allowed in cases where the variable is not assigned a value on the same line it is declared.
若是变量的声明和赋值不在同一行书写的话,编译器将不允许我们使用类型推断。
Use the type of the variable to which it is being assigned (call this simple).
使用正在被赋值的变量的类型(称为简单架构)。
This component does not have an assigned instance variable inside the view controller class, but you need to define the class delegate.
虽然此组件在视图控制器类内不具有已分配的实例变量,但是您需要定义类delegate。
For example, Figure 3 shows a local variable called status that has a type of string, because a string is assigned as its value.
例如,图3显示了一个称为status的局部变量,其类型为string,因为指定了一个字符串作为其取值。
In the case where a retrieved column has a value of SQL NULL, then no XPath variable reference expression is assigned to such a value.
如果检索到的列值为SQLNULL,那么不会给此类值分配任何XPath变量引用表达式。
We then created an ATM permanent virtual circuit (PVC), assigned it to the variable bit rate non-real-time ATM service category, and configured a sustained cell rate of 6 Mbps.
我们创建了一个AT M永久虚拟电路(PVC),然后分配了可变的速率到非实时atm服务类别,并且配置了6Mbps的持续信元速率。
TestsDueTime (represented as a timestamp variable) - Holds the assigned tests due date value.
testsDueTime(表示为timestamp变量)——保存分配的测试到期日期值。
In the second example, the variable ok is assigned a value of true if both the checked and safe variables are true; otherwise it is assigned a value of false.
在第二示例中,如果checked和safe两个变量均为True,则将变量ok指定为True,否则它被指定为False。
Variable @variable assigned but value never used.
变量@variable已分配但其值从未使用
This example then assigns the dictionary assigned to the variable d1 to the variable d2.
然后,这个示例将赋值给变量d1的dictionary 赋值给另一个变量d2。
Often a variable is only assigned to once and is used as an (immutable) definition.
通常对变量的赋值只有一次,并被当作不变的对象。
Select from the menu that appears at the end of the drag action the variable assigned to this component.
从拖动操作结束时出现已分配给此组件的变量的菜单中选择。
In many null-pointer exceptions, the true bug occurs where the variable is actually assigned to null.
在许多空指针异常中,真正的错误出现在变量被赋为空值的地方。
Instead, a new simple type object is created and assigned to the variable.
相反,系统将创建新的简单类型对象并将其赋值给变量。
At [1], the statement text is assigned to a variable.
在[1]中,语句文本被赋予一个变量。
Here, the document to search within is assigned to a variable.
这里将搜索的文档赋给一个变量。
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属性,那么将会创建一个带有指定名称的并限定了作用域的变量,并将每次迭代的当前索引值赋给该变量。
If it is not assigned to a variable, or it is not otherwise used as part of the calling statement, then the shell will attempt to execute it rather than display it.
如果没有将该输出指派给一个变量,或者没有在别的地方将它用作调用语句的一部分,则shell将会尝试执行输出而不是显示输出。
The result is a syntax object that can be assigned to a template variable using with-syntax.
结果是一个语法对象,可以使用with - syntax将这个对象分配给模板变量。
If three or more optional arguments are supplied, the third option is assigned to the width variable.
如果提供了三个或多个可选参数,那么第三个选项被分配给width变量。
应用推荐