home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!haven.umd.edu!wam.umd.edu!ghost
- From: ghost@wam.umd.edu ()
- Subject: Object problem in TP6
- Message-ID: <1992Dec31.002703.11740@wam.umd.edu>
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac3.wam.umd.edu
- Organization: Workstations at Maryland, University of Maryland, College Park
- Distribution: usa
- Date: Thu, 31 Dec 1992 00:27:03 GMT
- Lines: 33
-
-
- Hi, out there i am writing a game object for Turbo Pascal 6.0
- and everything was working fine deriveing other objects etc. and
- now for some STRANGE reason a series of methods i use in a derived object
- don't 'register'..........when i try to compile the unit with the derived
- object i get an undeclared identifier error! i don't get it it was working
- fine until i added a virtual procedure to the game objec, which comipled
- ok after that....
- basically i have these procedures in the game object definition
-
- leftclic
- leftdoubleclick
- rightclick
- rightdoubleclick
-
- (these are all virtual..not that it would make too much diff.)
-
- now in the derived object i do :
-
- if leftclick then.......
-
- i get the undeclared method error at this line and at any line that uses
- the aforementioned procedures......
-
- i didn't declare any methods in the game object to be private..so i have no
- clue as to what could be wrong
- any ideas ?
-
- thank you, comp.lang.pascal :)
-
- Ghost@La.Villa.Strangiato
- .
-
-