Re: Diamond preprocessor syntax
- Posted by Mike Nelson <MichaelANelson at WORLDNET.ATT.NET> May 17, 2003
- 412 views
jbrown wrote: > > Just wanna say I'd prefer if methods could be either procedures or functions. > > Of course, if thats not possible then its not possible. Actually, that is a good idea worth implementing. So I need to do one of two things: 1. Adopt a new notation for events, probably one you suggested. 2. Change the event system so that events are implemented as properties and methods -- this is also doable, I did it in a crude fashion in the original Diamond 1.0 Standard Class Library. Perhaps I could have an event keyword to define a specialized property that stores the routine_ids of the object-specific event handlers and specialized methods implementing other aspects of the event system. -- Mike Nelson