为什么编译不通过?(20分)

  • 主题发起人 wangc2003
  • 开始时间
W

wangc2003

Unregistered / Unconfirmed
GUEST, unregistred user!
with CheckListBox1 do begin
if Items = '编号' then begin
ini.writeinteger('POS', 'no', i);
error---> if items.Checked then ini.writeinteger('COL', 'no', 1)
else
sumec_ini.writeinteger('COL', 'ysno', 0)
end

报错:
[Error] u_hy_set_col.pas(173): Record, object or class type required
[Error] u_hy_set_col.pas(203): 'END' expected but 'EXCEPT' found
[Error] u_hy_set_col.pas(204): Missing operator or semicolon
[Error] u_hy_set_col.pas(206): Undeclared identifier: 'e'
[Error] u_hy_set_col.pas(207): EXCEPT or FINALLY expected
[Error] u_hy_set_col.pas(209): Declaration expected but identifier 'sumec_ini' found
[Error] u_hy_set_col.pas(213): '.' expected but ';' found
[Fatal Error] sumec.dpr(33): Could not compile used unit 'u_hy_set_col.pas'
 
CheckListBox1 .Checked
 
接受答案了.
 

Similar threads

I
回复
0
查看
852
import
I
I
回复
0
查看
817
import
I
I
回复
0
查看
2K
import
I
I
回复
0
查看
3K
import
I
I
回复
0
查看
2K
import
I
顶部