填空题
以下程序的功能是将字符串“12345”逆序打印出来。请在画线处填上适当的内容使程序完整。
Function rev(newl)As String b=Mid({{U}} {{U}} 11
{{/U}} {{/U}},1,1) if b=" "then rev="
" else rev=rev(Mid(new 1,2))+{{U}}
{{U}} 12 {{/U}} {{/U}} end if End
Function Private Sub Form_Click()
old="12345" Print old Print rev(old)
End Sub
填空题
在窗体上画一个命令按钮,其名称为Command1,然后编写如下程序:
Function M(x As Integer,y As Integer) As Integer
M=IIf(x>y,x,y)
End Function
Private Sub Command1 Click()
Dim a As Integer, b As Integer
a=100
b=200
Print M(a,b)
End Sub
程序运行后,单击命令按钮,输出结果为 ______。