Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.pascal.borland    |    Borland Pascal was actually pretty neat    |    2,978 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,062 of 2,978    |
|    Femme Verbeek to Heinrich Wolf    |
|    Re: Dem Dar Dastardly Procedural Types    |
|    20 Feb 06 09:57:36    |
   
   From: fv@nospam.tcenl.com   
      
   Heinrich Wolf schreef:   
   > Hi,   
   >   
   > procedural types differ, when used on objects or classes!   
   >   
   > type   
   > tProc = Procedure of Object; { look here! }   
   >   
   > tMainForm = class(tForm);   
   > MyPtr : tProc;   
   > Procedure MyProc;   
   > end;   
   >   
   > procedure tMainForm.BtnClick;   
   > begin   
   > MyPtr := MyProc;   
   > end;   
   >   
   > Regards   
   > Heiner   
   >   
   >   
   That does not work in TP/BP.   
   Some time agoo I was looking for something like this, but never   
   succeeded to do it in combination with objects.   
      
   -- Femme   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca