Why would I write this as an IF and not just a writevalue. And is the ? "Warning KIX: error status @error (@serror)" needed?