private static void ExecuteWhile(WhileCmd w) { onLoop++; while (ConditionEvaluator.Evaluate(w.condition)) { Execute(w.command); if (breakSet) { breakSet = false; break; } } onLoop--; }