开发人员使用规则条件 (Rule Condition) 取代代码条件 (Code Condition) 的主要原因是,规则条件成为模型的组成部分并且可在运行时在正在执行的工作流实例上动态更新。
基于16个网页-相关网页
condition code 条件码 ; 状况码 ; [计] 特征码
two condition cable code 二态电缆码 ; 双廉线电码
Condition Code Flags 条件码标志 ; 标志位
condition code register 条件码暂存器 ; 条件码缓存器 ; 寄存器
deferred condition code [计] 延迟条件码 ; 延缓条件码
exceptional condition code [计] 异常条件码
Data Condition Code [计] 数据条件码
Three-condition cable code 三情况电缆码 ; 三状态电缆电码
Figure 3 shows the results of running the example code above, showing the results of a "memory condition: memory leak" condition.
图3显示了运行上述示例代码的结果,其中显示了“内存条件:内存溢出”条件的结果。
The code in Listing 4 illustrates creation of the condition.
清单 4 中的代码说明了条件的创建。
Sometimes a piece of code is called many times, even from different threads, but you only want to stop in that code if a particular condition is met.
有时有一段代码会得到多次的重复访问,有时甚重由不同的线程访问,但是如果达到某种特定的状况时,您只想停止其中的一段代码。
So in other words, if thankful is still false at this point, it means this condition did not work out very well, and so I'm going to do this block of code again.
换句话说,如果thankful在这时候还是false值,这表示这个条件没有实现地很好,所以我将再次去处理这段代码。
As an aside, if you ever just have one line of code that you want to execute, one puzzle piece in Scratch terminology, ; you actually don't need the curly braces; you only need the curly braces if you have two or more lines of code that you want to execute if that condition is true.
此外,如果你只有一行代码,需要执行,在Scratch,术语中叫做,一句代码,你就不需要使用花括号了;,如果那个条件成立,你有两行或更多行的代码时需要执行时,你就需要花括号。
So in other words, if you terminate these lines early, if you terminate the four loop early, if you terminate an if condition early with that semicolon, the code may very well work; and this is a common source -- of frustration and conundrum because you don't -- because your code looks right and yet it's misbehaving, but that semicolon means stop looking for subsequent lines of related code.
换句话说,如果你用分号过早的终止了这些代码行,如果你过早地终止了那个for循环,如果如此,一个if条件,代码可能可以运行,这就是,挫折和问题产生的源头,因为你没有-,因为你的代码看起来是正确的,但是运行是错误的,那个分号的意思是,停止寻找后面相关的代码。
应用推荐