// returns number of changes static int cSmartSet(Concept c, O... values) ctex { if (c == null) ret 0; warnIfOddCount(values = expandParams(c.getClass(), values)); int changes = 0; for (int i = 0; i+1 < l(values); i += 2) if (_cSmartSetField(c, (S) values[i], values[i+1])) ++changes; ret changes; }