![]() |
|
|
|||||||
| Регистрация | << Правила форума >> | FAQ | Пользователи | Календарь | Поиск | Сообщения за сегодня | Все разделы прочитаны |
![]() |
|
|
Опции темы | Поиск в этой теме | Опции просмотра |
|
#1
|
|||
|
|||
|
Код:
type
...
TKeyWord = class
KeyWord : string;
RequestCnt : integer;
Checked : boolean;
end;
TKeyWordList = class(TList)
MaxCount : integer;
UseMaxCount : boolean;
function AddKeyWord(KW : TKeyWord) : boolean;
procedure MakeKeyCheked(KW : string);
function CountNotChecked : integer;
function FindNextNotCheckedKeyWord : string;
constructor Create;
public
procedure FreeInstance; override;
end;Выдает ошибку . [Error] Unit1.pas(28): Unsatisfied forward or external declaration: 'TKeyWordList.AddKeyWord' Подскажите что не так? Последний раз редактировалось Admin, 28.09.2010 в 17:20. |
|
#2
|
||||
|
||||
|
ну реализация нужна:
Код:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TKeyWord = class
KeyWord : string;
RequestCnt : integer;
Checked : boolean;
end;
TKeyWordList = class(TList)
MaxCount : integer;
UseMaxCount : boolean;
function AddKeyWord(KW : TKeyWord) : boolean;
procedure MakeKeyCheked(KW : string);
function CountNotChecked : integer;
function FindNextNotCheckedKeyWord : string;
constructor Create;
public
procedure FreeInstance; override;
end;
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
{ TKeyWordList }
function TKeyWordList.AddKeyWord(KW: TKeyWord): boolean;
begin
end;
function TKeyWordList.CountNotChecked: integer;
begin
end;
constructor TKeyWordList.Create;
begin
end;
function TKeyWordList.FindNextNotCheckedKeyWord: string;
begin
end;
procedure TKeyWordList.FreeInstance;
begin
inherited;
end;
procedure TKeyWordList.MakeKeyCheked(KW: string);
begin
end;
end.ctrl+shift+c чтобы руками не писать |