Passing seconds by value prevents the procedure from accessing the variable in the calling program, and helps avoid the pitfall just described.
英
美
- 通过值传递seconds可防止过程访问调用程序中的变量,因此有助于避免出现上述缺陷。