Hello,
Vladimir Ulchenko wrote:
> I have no experience whatsoever with anonymous delphi methods and have > no rs2010 handy at the moment to try. please show actual code meeting > all my aforementioned requirements if possible. I also looked at > Allen's blog post describing Using but still having troubles figuring > out what analog of mine one-liner DISABLE_ENABLE_CONTROLS(SomeDataset) > will look like?
the only way to have that statement as an one-liner, I believe, is by manually adjusting stack pointer and exception frame. I don't see how this could be achieved in plain Delphi.
-- Moritz
"Hey, it compiles! Ship it!"