对语句标签以及GOTO和loop语句的新支持为SPL例程中的迭代和退出语句循环提供了更大的灵活性。
The new support for statement labels and the GOTO and loop statements provide greater flexibility in iterating and in exiting from statement loops in SPL routines.
其他类型的日志语句由简单的方法进入和退出信息组成。
Other types of logging statements consist of simple method entry and exit information.
当insert语句失败并且错误代码在DECLAREEXIThandler语句中指定,那么控制将传递到处理程序,而过程将退出。
When the INSERT statement fails with the error code specified in the DECLARE exit handler statement, control passes to the handler, and the procedure is exited.
注意,当您运行该命令时,实现最终的退出状态的if语句将永远无法满足条件,因为脚本在遇到cp命令的非零返回状态时将退出。
Notice that when you run the command, the if statement for the last exit status is never reached because the script exits upon a non-zero return status of the cp command.
当错误发生时,或者在您希望向用户返回一个故障时,设置 WS_FAULT对象,并使用一个 Exit函数或 Exit 子语句退出方法。
When an error occurs or when you want to return a fault to the user, set the WS_FAULT object and exit the method with an Exit function or Exit sub statement.
您可以根据需要(例如,如我在上面所做的那样,发出echo语句以将变量输出到网页中)进入或退出php模式。
You can go into and out of PHP mode as necessary (to issue echo statements that output variables into the Web page as I've done above, for example).
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
可以使用几个if语句提前退出,以及在处理完数据时停止缓冲区重新填充过程。
You could throw in several if statements for early exit and to stop the buffer refill process when you are out of data.
if语句将用作简单的错误控制,如果由于用户的小失误而导致它未找到文件,则退出脚本。
The if statement ACTS as simple error control, exiting our script if it does not find the file with a somewhat graceful error for our users.
if语句将用作简单的错误控制,如果由于用户的小失误而导致它未找到文件,则退出脚本。
The if statement ACTS as simple error control, exiting our script if it does not find the file with a somewhat graceful error for our users.
应用推荐