这个脚本增加了一个简单的函数来显示一个消息并带适当的返回码退出,还把所有操作转移到一个for循环中,这使这个脚本看起来更干净、更容易理解了。
By adding a simple function to display a message and exit with the appropriate return code as well as moving everything into a for loop, the script looks cleaner and is easier to understand.
主消息循环关闭后,应用程序将退出。
When the main message loop is closed, the application exits.
主消息循环关闭后,应用程序将退出。
When the main message loop is closed, the application exits.
应用推荐