Delphi: a memento that executes any code at end of method

Following up on yesterdays Delphi: using IInterface to restore cursor at end of mehod (prelude to a memento that executes any code at end of method) here is the memento I meant. They are based on anonymous methods, which in Delphi are closures: they capture location. The location is kept just as long as needed, based on … Continue reading Delphi: a memento that executes any code at end of method