commandCount function

void commandCount(
  1. List args
)

Function of count command

Implementation

void commandCount(List args) {
  final num = expEval(args[0]);
  final block = defineBlockEnd(cur);
  for (var i = 0; i < num; i++) {
    runBlock(block[0], block[1], block[3]);
  }
}