单选题
在窗体上画一个命令按钮和一个文本框,其名称分别为Command1和Text1,然后编写如下程序:
Function Fun(x As Integer, y As Integer)As Integer
Fun=IIf(x<y,x,y)
End Function
Private Sub Form_Load()
Command1.Default=True
End Sub
Private Sub Command1_Click()
Dim a As Integer, b As Integer
a=20
b=12
Text1.Text=Str(Fun(a,b))
End Sub
程序运行后,按Enter键,文本框中显示的内容为______。