home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7753 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.4 KB  |  46 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!haven.umd.edu!wam.umd.edu!ghost
  3. From: ghost@wam.umd.edu ()
  4. Subject: Object problem in TP6
  5. Message-ID: <1992Dec31.002703.11740@wam.umd.edu>
  6. Sender: usenet@wam.umd.edu (USENET News system)
  7. Nntp-Posting-Host: rac3.wam.umd.edu
  8. Organization: Workstations at Maryland, University of Maryland, College Park
  9. Distribution: usa
  10. Date: Thu, 31 Dec 1992 00:27:03 GMT
  11. Lines: 33
  12.  
  13.  
  14. Hi, out there i am writing a game object for Turbo Pascal 6.0
  15. and everything was working fine deriveing other objects etc. and
  16. now for  some STRANGE reason a series of methods i use in a derived object
  17. don't 'register'..........when i try to compile the unit with the derived
  18. object i get an undeclared identifier error! i don't get it it was working
  19. fine until i added a virtual procedure to the game objec, which comipled
  20. ok after that....
  21. basically i have these procedures in the game object definition
  22.  
  23. leftclic
  24. leftdoubleclick
  25. rightclick
  26. rightdoubleclick
  27.  
  28. (these are all virtual..not that it would make too much diff.)
  29.  
  30. now in the derived object i do :
  31.  
  32.   if leftclick then.......
  33.  
  34. i get the undeclared method error at this line and at any line that uses
  35. the aforementioned procedures......
  36.  
  37. i didn't declare any methods in the game object to be private..so i have no
  38. clue as to what could be wrong
  39. any ideas ?
  40.  
  41. thank you, comp.lang.pascal :)
  42.  
  43. Ghost@La.Villa.Strangiato
  44. .
  45.  
  46.