Returning values from functions is discussed in detail on Day 4, "Expressions and Statements."
函数返回值将在第4天“表达式和语句”中详细讨论。
You might also use return values from functions with command such as test or while to control branching or looping.
您也可以将函数的返回值和test或while之类的命令结合使用来控制分支和循环。
You are also able to specify data types for variables, input parameters, return values from functions, user-defined functions and templates.
你可以可以为变量指明数据类型,输入参数,来自函数的返回值,用户自定义函数以及模板。
应用推荐