Реферат: Разработка программы психотестирования
begin
inc(defque);
if defque=testnum then begin
assignfile(f,copy(testfilename,1,length(testfilename)-3)+'rts');
reset(f);
while not eof(f) do begin
read(f,r);
if testcount in [r.min..r.max] then begin
frmres.label1.Caption:=r.text;
break
end
end;
closefile(f);
frmtest.hide;
frmres.show;
end;
load
end;
procedure TfrmTest.FormClose(Sender: TObject; var Action: TCloseAction);
begin
frmmain.show;
action:=cahide
end;
end.
unit Resfrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;