2013年1月8日

fastscript传递参数

摘要: {这个脚本功能恐怕很少人用到过,所以没人回答你…你的脚本不正确,你要先在程序中能正常执行,再放到txt中下面例子只测试1个参数,其它参数自己处理,自己参考着改吧:D:\1.txt脚本:}Function ChkDate(li_Year,li_Month,li_Day:Integer):Integer;begin Result:=0; if Length(IntToStr(li_Year))>4 then begin ShowMessage('不是正确的年份'); Exit; end; Result:=li_Year*365;end;beginend.{程序代码:}func 阅读全文

posted @ 2013-01-08 21:03 chenlala 阅读(228) 评论(0) 推荐(0) 编辑

导航