请问关于比较两个时间的问题? |
|
Thanksgiving
一般會員 發表:6 回覆:5 積分:2 註冊:2005-03-23 發送簡訊給我 |
|
hsk6138
初階會員 發表:12 回覆:59 積分:49 註冊:2003-12-11 發送簡訊給我 |
===================引 用 文 章=================== ???? Present:=now; ????? decodetime(present,h,m,s,hs); ????? if Strtoint(MaskEdit1.Text)=strtoint(inttostr(h) inttostr(m) inttostr(s))????? then........................ ?MaskEdit1为 !90:00:00;1;_,编译报错,提示为“:?? :??? :”无法转换为int,请各位帮忙! 因為MaskEdit1 : : 無法轉成整數當然編譯报错 a,b,c:integer; a:=strtoint(copy(MaskEdit1,1,2)); b:=strtoint(copy(MaskEdit1,3,2)); c:=strtoint(copy(MaskEdit1,6,2)); if (a b c)=strtoint(inttostr(h) inttostr(m) inttostr(s)) then |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |