J
jinju1986
Unregistered / Unconfirmed
GUEST, unregistred user!
我做的是一个成绩查询,运行程序在study_query.pas里没有错,但是study_query.dpr中却错了.整个程序中只有一个表单FORM1,不知道是哪里错了,请高手指点,在线等候!
谢谢!
/////////study_query.dpr
program student_query;
uses
Forms,
Stud_query in 'Stud_query.pas' {Form1},
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
我的错误提示是:
[Error] student_query.dpr(10): Identifier expected but 'BEGIN' found
[Error] student_query.dpr(11): Undeclared identifier: 'Application'
[Error] student_query.dpr(11): Missing operator or semicolon
[Error] student_query.dpr(12): Missing operator or semicolon
[Error] student_query.dpr(12): Undeclared identifier: 'TForm1'
[Error] student_query.dpr(13): Missing operator or semicolon
谢谢!
/////////study_query.dpr
program student_query;
uses
Forms,
Stud_query in 'Stud_query.pas' {Form1},
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
我的错误提示是:
[Error] student_query.dpr(10): Identifier expected but 'BEGIN' found
[Error] student_query.dpr(11): Undeclared identifier: 'Application'
[Error] student_query.dpr(11): Missing operator or semicolon
[Error] student_query.dpr(12): Missing operator or semicolon
[Error] student_query.dpr(12): Undeclared identifier: 'TForm1'
[Error] student_query.dpr(13): Missing operator or semicolon