我的代码是这样的,请大家帮我这个菜鸟看看,为什么在var声明变量changed就出错了???  private
    { Private declarations }
  public
    { Public declarations }
    changed:boolean;
  end;var
  Form1: TForm1;implementation{$R *.dfm}procedure TForm1.Save1Click(Sender: TObject);
begin
  if changed then 
  begin
  richedit1.Lines.SaveToFile(opendialog1.FileName);
  label1.Caption:='you''ve saved the file';
  end;
end;