VB比较两个数的大小

来源:互联网 发布:mac怎么更改用户头像 编辑:程序博客网 时间:2024/04/30 08:42

两个数的大小

Private Sub Command1_Click()

Dim a As Integer

Dim b As Integer

 

a = 44

b = 36

 

If a >= b Then

Print a

Else

Print b

End If

End Sub