Also notice the presence of a Boolean variable named init.
另外还要注意名为init的Boolean变量的存在。
If two items need to switch places, a Boolean variable sort is set to true (lines 46, 49, 86, and 89).
如果两个项目需要调换位置,一个布尔排序变量将设置为true(第46、49、86和89行)。
Then create a boolean variable named secondDecision and set it as the output parameter of SecondApprovalTask, as shown in Figure 11.
然后创建一个名为 secondDecision的布尔型变量,并将其设置为SecondApprovalTask的输出参数,如图 11 所示。
This version of the code adds a Boolean variable, inElement, which ensures that textual content is only picked up specifically for the element being dealt with.
这个版本的代码添加了一个布尔变量inelement,它保证只从所处理的元素中提取文字内容。
For example, in our scripting system we might have a global Boolean variable called PlayerArmed which will direct a cowardly troll to ambush only unarmed opponents.
例如,在我们的脚本系统中有一个控制着胆怯的巨人只是埋伏徒手的敌人(译者注:也可能指的是玩家)的全局布尔型变量。
The constructor for the SelectionListener implementation accepts a Boolean variable that defines whether the tree items are to be expanded or collapsed, depending on which button is selected.
SelectionListener实现的构造函数接受一个布尔变量,该变量定义要展开还是折叠树项目,具体取决于选中了哪个按钮。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
The value you specify with a parameter can be a free-form string, a number (including specialized numeric values, such as IP addresses), a Boolean value, a variable, or a list.
您指定的参数Value可以是自由格式的字符串、数字(包括特殊数值,如IP地址)、boolean值、变量或列表。
In Listing 5, the test does not need to compare to a string because the variable returns a Boolean type rather than an RTF as a result of the select attribute.
在清单5中,测试不需要与字符串进行比较,因为变量返回一个Boolean类型而不是rtf作为select属性的结果。
After loading the Properties object, you close the input stream, and then set your Boolean flag variable (init) value to true, demarcating that the AddressStore object has been initialized.
在加载properties对象之后,关闭输入流,然后设置布尔型标志变量(init)值为true,确定AddressStore对象已经被初始化。
Here we have allocated a 1 qubit (Boolean) variable from the QCL quantum heap.
此处我们在qcl量子堆中为一个1量子位(布尔型)变量分配空间。
In the Details section of the Properties view for the new variable, ensure Data type is checked, click Browse, and then select Boolean from the list of types.
在新变量的Properties视图的Details部分,确保选中了DataType,单击Browse,然后从类型列表中选择boolean。
But now the second if statement evaluates True because the variable I is evenly divisible by 125 (and the not operator turns the resulting 0 into a Boolean True).
但是第二个if语句计算为True,因为变量i能被125整除(并且not运算符将结果0转换成布尔值True)。
This expression can be as simple as a variable (as shown in Listing 2) or a method call (like getList()), or a complex expression that involves boolean logic or a ternary operator.
表达式可以简单到就是一个变量(如清单2 所示)或者是一个方法调用(例如getList()),亦或是包含布尔逻辑或三目运算符的复杂表达式。
Ordered binary decision diagrams(OBDDs)are a data structure for efficient representation and manipulation of Boolean functions. The size of OBDDs is very sensitive to variable ordering.
有序二叉决策图(OBDD)是一种有效表示布尔函数的数据结构,其大小依赖于所采用的变量序。
Returns a Boolean value indicating whether a variable variable: a named storage location capable of containing data that can be modified during program execution.
返回布尔值,指明变量变量:已命名存储位置,所包含的数据能够在程序执行过程中发生变动。
Casting the variable to a Boolean type is unreliable, but each of the following alternatives will work.
将变量掷为布尔类型是不可靠的,但是下面两者方式均可成立。
Casting the variable to a Boolean type is unreliable, but each of the following alternatives will work.
将变量掷为布尔类型是不可靠的,但是下面两者方式均可成立。
应用推荐