抛出致命错误并且不希望虚拟机进行修复。该函数无返回值。
Raises a fatal error and does not expect the VM to recover. Thisfunction does not return.
抛出致命错误并且不希望虚拟机进行修复。该函数无返回值。
Raises a fatal error and does not expect the VM to recover. This function does not return.
无返回值的函数要么就是屏幕上显示出一些内容,要么就有其他的功能,但就是没有返回值。
Void functions might display something on the screen or have some other effect, but they don't have a return value.
我们目前为止写的函数还都是无返回值的。接下来的新的章节里面,咱们就要开始写一些有返回值的函数了。
The functions we have written so far are all void. We will start writing fruitful functions in a few chapters.
在返回值上也存在相似的问题。你可以定义有返回值的委托而不是无返回值的。你可以编写回调来检查用户的放弃操作。
A similar problem exists with return values. You can define delegates that have return types other than void. You could write a callback to check for user aborts.
在返回值上也存在相似的问题。你可以定义有返回值的委托而不是无返回值的。你可以编写回调来检查用户的放弃操作。
A similar problem exists with return values. You can define delegates that have return types other than void. You could write a callback to check for user aborts.
应用推荐