private void cmdRepeatStart(partWork pw) { pw.incPos(); clsRepeat rs = new clsRepeat(); rs.pos = pw.getPos(); rs.repeatCount = -1;//初期値 pw.stackRepeat.Push(rs); }