Use the event handler's index to select the appropriate slot in the list of the result variable.
使用事件处理程序的索引来在结果变量列表中选择恰当的Slot。
If the global scope requires the result of the event handler, set the result in the global result variable.
如果全局范围要求使用事件处理程序的结果,请在全局结果变量中设置该结果。
If an exception is thrown during the second try statement, notice that the result variable gets set to false.
如果在第二个try语句运行期间抛出异常,那么请注意,result变量被设置为false。
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变量中,这也是一个全局变量。
Notice that if everything goes as planned, the result variable will equal true after everything is successfully submitted into the database and no exceptions are thrown.
注意,如果每件事都按计划进行,那么在每件事都成功提交到数据库,而且没有抛出异常之后,result变量应当等于true。
No other kind of result objects can be used as a context variable.
不能将任何其他类型的结果对象用作上下文变量。
You first need a variable to hold the result of the customer information check (that is, the customer standing).
首先,需要一个变量来保存客户信息检查的结果(即客户信誉状态)。
Initialize an empty stack and empty result string variable.
初始化一个空堆栈,将结果字符串变量置空。
This article assumes that you have some experience using PHP already and can use a function to pass a variable and return a result.
本文假设您已经具有一些使用PHP的经验,并能够使用函数来传递变量并返回结果。
Because this result is held in an integer variable, a message to display the value should use a formatting code to pad to four characters with leading zeros for codes that are numbered less than 1000.
由于这个结果保存在一个整数变量中,因此,显示值的消息应该使用一个格式化代码,为代码填充具有前导零的四个字符。该代码数量不到1000个。
They're looking at a minuscule, variable result that is prone to be picking up all kinds of irrelevant signals, yet nowhere in the entire paper can I find the word "blind".
他们看到的结果是微小易变的而且倾向于受到各种杂讯的干扰而在整篇论文里我就没找到一个“盲”字。
This result cannot be represented in a single variable in c, so the multiply function returns the result in two different output parameters.
这个结果在c语言中无法使用单个变量进行表示,因此这个乘法函数会以两个不同输出参数的形式返回结果。
Be aware that when a staff resolution result is refreshed, updates to the context variable values are not considered, but the initial values are re-used.
请注意,在刷新人员解析结果时,将不考虑对上下文变量值的更新,而是重用初始值。
Name is a mandatory attribute that specifies the name of the context variable, in which the intermediate result will be stored.
name是一个强制属性,用于指定将在其中存储中间结果的上下文变量的名称。
The script uses a WebSphere DataPower context variable to pass its result to the following actions.
该脚本使用WebSphereDataPower上下文变量将其结果传递给随后的操作。
Listing 4 USES Doctrine to perform a query for the records in the books database table, setting the result as a view variable for the IndexSuccessView.
清单4使用Doctrine来执行一个查询,旨在得到书籍数据库表中的记录,将结果设置为IndexSuccessView的一个视图变量。
The query result is stored in the context variable "myManager".
查询结果存储在上下文变量“myManager”中。
Finally, the back quotes both interpret the variable and run the intermediate result as a subshell.
最后,反撇号解释变量并作为子shell运行中间结果。
After making a remote or other expensive call, store the result in an instance variable on the application object or in a WebSphere Dynamic Cache map; then, reuse that result on later calls.
在进行了远程或其他代价高昂的调用之后,可以将结果存储到应用程序对象的实例变量或者WebSphereDynamicCache映射中,然后在以后调用时重用该结果。
The result of an Invoke can be assigned to a variable (e.g., myVar = obj.toString()).
Invoke的结果可以分配给一个变量(例如,myVar = obj.toString())。
If an unset variable can't produce a valid result, check for the variable and throw an InvalidArgumentException.
如果未设置的变量无法生成有效的结果,请检查变量并抛出InvalidArgumentException。
Only when the event handler has finished its business logic, it updates the global variable result in order to return the result to MainScope.
只有事件处理程序完成了其业务逻辑后,它才会更新全局变量result,以将结果返回到MainScope。
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对象赋给该变量。
This program tries to store to an unallocated memory location by doing a string copy from arr to the p variable. The expected result is a SEGSEGV signal, as you can see
这个程序试图在一个尚未分配的内存中保存数据:它执行一个字符串复制操作,将arr中的数据复制到p变量中。
You also need to count the number of elements in the array and use a variable $numstories to contain the result.
您还需要统计数组中的元素个数,并将其保存在变量 $numstories中。
result – This variable holds all review results in a list.
result——此变量以列表的形式存储所有审阅结果。
In Figure 15, the DAY variable is used in the last Invoke of this EOperationImpl: a get whose return value is assigned to variable result (the return Ref of our implementation).
在图15中,DAY变量用于这个EOperationImpl的最后一个Invoke:一个get,其返回值被分配给变量result(我们的实现的ReturnRef)。
I've placed the remaining content in a variable result.
我将其他内容放在变量result中。
As a result, you can assign a function to a variable (remember that in Python, variables are dynamically typed).
因而,您可以将函数指派给一个变量(切记,在Python中变量是动态类型化的)。
As a result, you can assign a function to a variable (remember that in Python, variables are dynamically typed).
因而,您可以将函数指派给一个变量(切记,在Python中变量是动态类型化的)。
应用推荐