Sönmez Kartal wrote:
Hello,
I am new to Lazarus. I have a book named Mastering Delphi 7 by Marco
Cantu. I got an error when I tried to compile an example.
procedure TDateForm.FormCreate(Sender: TObject);
begin
TheDay := TDate.Create();
TheDay.SetValue(2007,1,13);
end;
What not something like this?
procedure TDateForm.FormCreate(sender: TObject);
begin
TheDay := EncodeDate(2007,1,13);
end;
This is assuming that the "TheDay" var is declared in the form where it
is accessible.
This may help as well:
http://www.taoyue.com/tutorials/pascal/contents.html
http://packetstormsecurity.nl/programming-tutorials/Pascal/pascal-tutorial/paslist.htm
--
Warm Regards,
Lee
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives