dkl - 2016-02-16

Yea, the expression should be copied to a temp var, so we can be sure to work on the same value during the whole Delete (check against null, destructor call, free() call).

I'm afraid the same problem may exist for example with Select Case or With blocks, at least if the expressions contain function calls (the only way in FB to change variables during an expression).

In case of Delete though, it doesn't matter whether the expression has side-effects, as the destructor call may already cause side-effects.

This should be pretty easy to fix though.