以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [灌水]三个数里取大值 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=1574) |
-- 作者:chunfeng -- 发布时间:2009/1/7 20:08:00 -- [灌水]三个数里取大值 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编辑过]
|
-- 作者:chunfeng -- 发布时间:2009/1/7 20:09:00 -- 代码(学习帮助文件的测试) 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编辑过]
|