设有如下通用过程:Public Function f(x As Integer) Di my As Integerx=20 y =2f =x
设有如下通用过程:Public Function f(x As Integer) Di my As Integerx=20 y =2f =x*yEnd Function在窗体上画一个名称为Co mmand1的命令按钮,然后编写如下事件过程:Private Sub Co mmand1_Click() Static x As Integer x=10 y =5 y =f(x) Print x;yEnd