Apologies - my fault - the correct replacement for set(MCExecPoint& ep, ...) is set(MCExecContext& ctxt, MCValueRef, ...)

The 'setvalueref()' method only sets the internal value ptr. The 'set()' method also handles special-case variables (it calls synchronize).