I add an argument for the event as a public variable of type TimeEntry.
我为这个事件添加了一个类型为公共变量的参数TimeEntry。
The side effect of the subprogram is produced by using public variable, or static variable, or pointer parameter in C Program.
在C语言子程序中由于使用了全局变量,或是使用了静态变量,或是使用了指针参数,从而产生副作用。
In advanced language program, the side effect of the subprogram is referred that the subprogram (procedure or function) change public variable or no local variable.
高级语言中子程序的副作用是指子程序(过程和函数)对全程量或非局部量的改变。
应用推荐