Re: destructor
- Posted by SDPringle Mar 15, 2009
- 967 views
A destructor system shouldn't need a bless() routine unless you want the interpreter to remember what a value is. In a static system. We need a way to connect the destructor to the type. Add a builtin: procedure register_destructor( integer tid, integer rid )
You can use a routine id of a type. The type gets attached. The parser could put the destructor routines in where variables go out of scope.
So, what will it be? Virtual methods or static ones?
Shawn Pringle