你先把语法上的错误修正了再重新贴你的代码吧。
Error] test1.pas(321): ')' expected but identifier 'ym' found
和
[Error] test1.pas(351): Missing operator or semicolon
是单纯的语法错误,在编辑器很快就能排除。
Error] test1.pas(321): ')' expected but identifier 'ym' found
和
[Error] test1.pas(351): Missing operator or semicolon
是单纯的语法错误,在编辑器很快就能排除。
其他的需要你的代码中把行号标出,因为出错的地方都找不到
编译又出现以下1:if (((DataModule1.ym.DataSet).Active=true) and ((DataModule1.ym.DataSet).RecordCount>0)) then//这一处的的编译错误是1:[Error] test1.pas(321): Undeclared identifier: 'DataModule1'2:[Error] test1.pas(321): ')' expected but identifier 'ym' found 这两个错误如何改