这个也太简单了 就一个if判断语句private function test(a,b) if a>b then test=a else test=bend function带两个参数调用这个自定义函数过程即可得到较大数