Re: destructor

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu