View previous topic :: View next topic |
Author |
Message |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Sat Dec 01, 2007 2:18 am Post subject: [Delphi] DoMove procedure |
|
|
Hey.
I got a problem with this procedure
Code: |
TPacman = class(TImageSprite)
public
procedure DoMove(MoveCount: Integer); override;
end;
|
Where should it be, in what section?
The tutorial is here
http://delphigamedev.com/tutorials/dxtut3b.htm
BTW:
Atm its here
Code: | public
end;
TPacman = class(TImageSprite)
public
procedure DoMove(MoveCount: Integer); override;
end;
var
Form1: TForm1; |
But I'm getting an error
Quote: | Unsatisfied forward or external declaration |
|
|
Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Sat Dec 01, 2007 5:27 am Post subject: |
|
|
When a procedure is declared, but the actions to be taken are not set, you will receive an unsatisfied foward or external declaration.
|
|
Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Dec 01, 2007 5:42 am Post subject: |
|
|
You only completed the first part of the tutorial, and you got an error, why are you surprised?
_________________
|
|
Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Sat Dec 01, 2007 8:10 am Post subject: |
|
|
Ahah
|
|
Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Sun Dec 02, 2007 12:11 pm Post subject: |
|
|
You have to add the procedure in your implementation section. At least just write a skeleton for it so you don't get the error.
|
|
Back to top |
|
 |
|