After the execution of the UPDATE, INSERT, and DELETE statements, an additional variable is available to check the result of the statement.
执行完update、INSERT和delete语句后,将使用额外的一个变量来检查语句的结果。
For each option, the case statement then attempts to identify the option, using either the short or long format and setting a variable.
对于每个选项,case语句会尝试识别该选项——使用短格式或长格式并设置一个变量。
To gather user input, you use the read statement and assign a variable to the user input, as shown in Listing 25.
要想收集用户输入,应该使用read语句并向用户输入分配一个变量,见清单25。
应用推荐