我把它初始化为假值。
另一个常用的技术是增加一个假值转换器,然后在其中设定断点。
An often cited technique is to add a dummy value converter and then set a break point within it.
添加的这段代码的结果是页面显示时有了真实数据,而不是 1012这个假值。
The result of this addition is that the page will be shown with live data, rather than the dummy value of 1012.
另外请注意,如果这个属性的值是假值,那么前一种探测方式将会得到“否”的结果,并不能真正探测出这个键名是否存在。
Also note that if the value of a property is falsy, your check will fail despite the key being present.
条目 "Edith Barney"的children属性不是一个假值,因此,树模型将其视为一个有子节点的节点。
The children attribute of item "Edith Barney" is not a false value, so the tree model will treat it as a node with children.
你是发过誓的,所以当你说那值八便士的时候,你就起了假誓。
Thou wast under oath, and so swore falsely when thou saidst the value was but eightpence.
假正指的是这样的一个数据实例:我们创建的这个模型预测它应该是正的,但事实相反,实际值却是负的。
Basically, a false positive is a data instance where the model we've created predicts it should be positive, but instead, the actual value is negative.
如果 $userchoice 为假(请参阅表1),那么Perl就需要检查 $systemchoice的值,依此类推,直到最后一个值,这个值通常都会被使用,不管它是真还是假。
If $userchoice is false (see Table 1), then Perl checks the value of $systemchoice and so on until it gets to the last value, which is always used, whether it's true or not.
当那个条件为假(也就是说,页计数器的值小于起始页或大于结束页)时,则selpg不再写任何输出。
When that condition is false, that is, the page counter is either less than the start page or greater than the end page, it does not write any output.
惟一一个稍微与众不同的函数是 read_yes_no() ,可以给它一个Y或1 的默认参数来使默认值为真,任何其他的参数都会使默认值为假。
The only slightly unusual function is read_yes_no(), which can be given a Y or 1 default parameter to make the default true, and any other parameter to make the default false.
当将字符串作为布尔值使用时,将首先把字符串转换为整数,然后再计算真(非0)或假(0)。
When a string is used as a Boolean, it is first converted to an integer, and then evaluated for truth (non-zero) or falsehood (zero).
这个额外的列可以拥有一个(假)默认值,这个值仅在partner列有值时才被修改,从而避免使用null值。
The additional column can have a (false) default value that is modified only when the partner column has a value, avoiding the need for nulls.
IGNORE_VIEW _ TREE假当该值设置成真时,会从追踪中排除视图树(所有的构件)。
Com.ibm.faces.trace.IGNORE_VIEW_TREE false When set to true, excludes view tree (all components) from the trace.
最后,考虑这种情况:如果没有定义updatecommand,却提交更改,那么canupdate返回值为假,并引发一个异常。
Finally, consider that if UpdateCommand isn't defined, CanUpdate returns false and an exception is thrown if you try to submit changes.
resolveToServer属性是一个布尔类型的值;如果为真,它会将新的存储库解析为服务器基础目录,反之如果为假,它会将新的存储库解析为服务器基础存储库。
The resolveToServer attribute is Boolean; if true, it resolves the new repository to the server base directory, and if false, it resolves the new repository to the server base repository.
IGNORE_SESSION_SCOPE假当该值设置成真时,从追踪中会排除所有会话范围内的对象。
Com.ibm.faces.trace.IGNORE_SESSION_SCOPE false When set to true, excludes all session-scoped objects from the trace.
和c一样,在Vimscript中,对于布尔值来说,只有数值0为假;任何非0数值—不管是正数还是负数—都为真。
In Vimscript, as in c, only the numeric value zero is false in a Boolean context; any non-zero numeric value-whether positive or negative-is considered true.
IGNORE_APPLICATION_SCOPE假当该值设置为真时,从追踪中排除所有的程序范围对象。
Com.ibm.faces.trace.IGNORE_APPLICATION_SCOPE false When set to true, excludes all application scoped objects from the trace.
如上所述,Route节点对表达式求值,结果将强制转换为布尔值,以生成真或假的测试条件。
As described above, the Route node evaluates an expression, the result of which is then cast as a Boolean to produce a true or false test condition.
cancel属性值在激发“pre”事件时通常设置为假。
The value of the Cancel property is always set to false when the "pre" event fires.
Sys是一个逻辑字段,其值可以为真或假。
当该值设置为假时,UIData构件的追踪将会只包含UI Data构件端的一个实例。
When set to false, tracing of the UI Data components will include only one instance of each component inside of UI Data.
IGNORE_COMPONENT _values假当该值设置为真时,追踪就不再需要构件的值了。
Com.ibm.faces.trace.IGNORE_COMPONENT_VALUES false When set to true, trace won't ask components for their values.
为了实现该目的,JSON定义了以下主要数据结构:数字、字符串、布尔值(真或假)、数组(值的有序排列)、对象(键值对集合)和null。
For that effect, JSON defines the following main data structures: number, string, Boolean (true and false), array (an ordered sequence of values), object (collection of key value pairs), and null.
布尔表达式:一种值为真或假的表达式。
返回值:如果函数成功,返回值是非零;否则,它是零(假)。
Return values: If the function succeeds, the return value is nonzero; otherwise, it is zero (False).
布尔表达式的设计意图就是表达运行时值为表达式时值意图真或假的属性,在某个时刻判断此属性的值就可以决定执时刻可以决定行是否继续。
Boolean expressions are intended precisely to express background contract express runtime true or false properties-properties that at any point in the execution may hold or not hold.
该区域的地质数据在采集过程中不可避免地存在数据的各向异性、特高值屏蔽、噪声等原因易导致出现假异常,因此需要对该区域的地质数据需要进行特别的处理研究。
Because of upper shielding, noise during the course of collecting data may be led to fault anomaly. So it is necessary to study the data of this area.
由逻辑与和其后的逻辑非组成的逻辑运算符,如果两个运算域都是真,则返回的值便为假。
A logical operator that consists of a logical and followed by a logical NOT and returns a false value only if both operands are true.
应用推荐