Dim Val1 As Integer = 66
Dim Val2 As Integer = 80
Dim Val3 As Integer = 58
Dim Val4 As Integer
Val4=Math.Max(Val1,Val2)
Output.Show("较大的是" & Math.Max(Val4,Val3))
[此贴子已经被smileboy于2009-1-7 20:35:13编辑过]
代码(学习帮助文件的测试)
Dim Val1 As Integer = 66
Dim Val2 As Integer = 80
Dim Val3 As Integer = 58
Dim Val4 As Integer
Val4=Math.Max(Val1,Val2)
Output.Show("较大的是" & Math.Max(Val4,Val3))
[此贴子已经被smileboy于2009-1-7 20:35:27编辑过]